We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
amjadislam1
9 years agoExplorer | Level 4
API v2: Simple image preview
hi i was using Dropbox Api v1 to show images which i place on Dropbox. but now V1 is going to deprecate soon so i am migrating from v1 to v2. but i am not able to find any way to replace v1 link which we just pass to image tag to show image preview. what i found in v2 is download a file and show it in your image tag. even i can not download a batch of images.
2 Replies
- Greg-DB9 years ago
Dropbox Community Moderator
It sounds like you're referring to using API v1's /media. This wasn't intended for embedding images on web pages, and API v2's /files/get_temporary_link equivalent likewise isn't meant for that either.
I'm afraid I don't have a good solution to offer, but I'll be sure to pass this along as a feature request.
- amjadislam19 years agoExplorer | Level 4
Thanks for your Reply
sorry its not a solution at all. i mark it solution by mistake. i was not referring media api from V1 i was referring api url as image path with access token.
https://content.dropboxapi.com/1/files/auto/<path>
Greg-DB wrote:It sounds like you're referring to using API v1's /media. This wasn't intended for embedding images on web pages, and API v2's /files/get_temporary_link equivalent likewise isn't meant for that either.
I'm afraid I don't have a good solution to offer, but I'll be sure to pass this along as a feature request.
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!