Filestack Button

So I using an embed block to include a Fine upload button - it works fine on e.g. Wordpress - but can’t make it work on Webflow. Any ideas?

Thanks a lot.


Here is my site Read-Only: https://preview.webflow.com/preview/base2-dashboard?preview=664d54019dcb80aa689b2f3083a99f4e

Hello jmanooch,

I’m a developer at Filestack and would love to help you out. You should be able to use the “Embed” functionality on your Webflow page to import the Filestack Javascript library and execute the upload picker. The code would look something like this:

<script src=“https://static.filestackapi.com/v3/filestack.js”></script>
<script type=“text/javascript”>
var fsClient = filestack.init(‘AqjBremu4RqC30mioRszFz’);
function openPicker() {
fsClient.pick({
fromSources:[“local_file_system”,“imagesearch”,“facebook”,“instagram”,“dropbox”]
}).then(function(response) {
// declare this function to handle response
handleFilestack(response);
});
}
</script>

The preview link in your post is showing a blank project for me so I am unable to help you get it working there. Sorry. If you have any questions feel free to send an email to support@filestack.com. Good luck!

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.