cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

using filesGetThumbnail with png.

Helpful | Level 6

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

2 Replies 2
Highlighted

Re: using filesGetThumbnail with png.

Dropboxer
Dropboxer
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.
Highlighted

Re: using filesGetThumbnail with png.

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

 

 

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?