Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
bhuwan
6 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 files from user's dropbox to my website?
3 Replies
Sort By
- Greg-DB
Dropbox Staff
The 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.1Explorer | 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.6,000 PostsLatest Activity: 14 hours ago
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!