We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
bhuwan
7 years agoExplorer | Level 3
get url to embed in file
Hi There, I have tried files/get_thumbnail, get_preview endpoints but I am not able to get any response that I can embed in HTML. Is there any way to get thumbnail or preview URL so I can display all...
Greg-DB
Dropbox Community Moderator
7 years agoThe get_thumbnail and get_preview endpoints return the requested thumbnail or preview data directly in the response body (as application/octet-stream). Exactly what you do with the data is up to you; for instance, you might save it to your server and serve it back to the web browser, convert it to a different format, etc.
The Dropbox API doesn't offer a way to retrieve links for thumbnails or previews instead, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
- Jens S.16 years agoExplorer | Level 4
+1 Maybe extend the /get_temporary_link to work with preview - would be ideal for my use case. Thanks
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!