cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Acces thumbnail images for PDFs

Acces thumbnail images for PDFs

FoxyLoxy
New member | Level 2

I'm using Dropbox to store PDF files, and my external application needs to programmatically access a thumbnail image of the first page for each of these PDF files.

 

These thumbnail images need to be inserted into emails, so I think the Embedder functionality will not be suitable for this use case?

 

Is there a way to directly access the thumbnail that Dropbox generates for each file via http?

 

If not, is there a suggested/recommended approach to convert PDF to an image format and use that for a thumbnail?

 

Thanks

11 Replies 11

Здравко
Legendary | Level 20

Thanks @Greg-DB,

It's not exactly missing URL encoding, but you drive my to right direction and I found out what's wrong. Since I have used non ASCII symbols in the file name this seems confuses the function. I have no idea why? There is an easy workaround: I just stripped filename in the link; the name isn't mandatory there. Everything works now. :winking_face:

You can take a look if this can be fixed. To reproduce, just rename your "test.pdf" to something like "тест.pdf", for example. It still works while passed as header, but not as parameter! Anyway... I successfully bypassed the issue. :thumbs_up:

Thanks again!

Greg-DB
Dropbox Staff

@Здравко Thanks! That sounds like it may be a bug on our side as well. I'll ask the team to check on that.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Здравко Legendary | Level 20
  • User avatar
    FoxyLoxy New member | Level 2
What do Dropbox user levels mean?