Start 2025 on time and up to date! Seamlessly integrate your calendars into Dropbox with these simple steps! 📆

Forum Discussion

yvancoyaud's avatar
yvancoyaud
Helpful | Level 6
7 years ago

using filesGetThumbnail with png.

Hello everyone,

 

I use the API 'filesGetThumbnail' and I have a problem with the files 'png'.

I'm using

dbx.filesGetThumbnail ({'path': dir/.../file.png, 'size': 'w128h128', 'format': 'png'})

But it does not work and continues to make me thumbnails on the jpeg file ...

Does anyone see where is the error?

Thank you for your reply

 

YC

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Can you elaborate on what you mean when you say "it does not work and continues to make me thumbnails on the jpeg file"?

    Are you saying it is operating on the wrong file (i.e., some jpeg file), or it is returning a thumbnail in the jpeg format instead of png?

    If you can share the full sample code to reproduce the issue that would be helpful.
    • yvancoyaud's avatar
      yvancoyaud
      Helpful | Level 6

      Thousands of apologies.

      This is only a syntax error ....

      Everything works nickel.

      Promised, from now on I would be careful before making noise for nothing ...

      YC

       

       

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,936 PostsLatest Activity: 13 hours ago
346 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!