cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more 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: 

API v2: Simple image preview

API v2: Simple image preview

amjadislam1
Explorer | Level 4

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 2

Greg-DB
Dropbox 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. 

amjadislam1
Explorer | 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. 


 
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    amjadislam1 Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?