You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
amjadislam1
8 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.
- Greg-DBDropbox Staff
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.
- amjadislam1Explorer | 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.
5,910 PostsLatest Activity: 3 days agoIf 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!