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

bethesda4's avatar
bethesda4
Explorer | Level 4
5 years ago

Using API to get a list of *direct* url's to images in a folder

We're building an app in Python that will need to retrieve a list of every file in a particular folder containing jpg images, and for each image, we need to get a direct http url that can be used in an html img src tag.  We also need the original image file name (the name humans see when the view a list of files e.g. image1.jpg)

When testing the api using list_folder, we get back the original file names and other metadata like the file id.  But how do we create a url for each file?  

It seems like Dropbox is preventing or discouraging this practice perhaps to reduce load on their servers from people hosting images used on high-traffic sites.  But we're not doing that.

Thanks

 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 11 days ago
334 Following

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!