Forum Discussion

Mesqueeb's avatar
Mesqueeb
Helpful | Level 6
8 years ago

How to show a GIF thumbnail that is animated with the Dropbox JavaScript API?

So I have a folder full of GIF's. Each of them might be around 2~6 MB in size. They are too large to display in a gallery at once, so I'd like to load them as thumbnails. But the `dbx.filesGetThumbnail` doesn't work with animation it seems.

 

What is the way to load smaller versions of my GIFs that are still animated?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    The Dropbox API doesn't offer animated thumbnails. We'll consider it a feature request.

     

    That being the case, you'd need to download the original file and handle it as desired.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,947 PostsLatest Activity: 50 minutes ago
351 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!