One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
grahamjroy
8 years agoNew member | Level 2
Showing images in an app folder
I have a dropbox app that I create so that I can upload images via the api. I want to be able to show these images on a web page as a carousel. I can get the list of images using:
dbx.filesListFolder({path: ''}) .then(function(response) { console.log(response.entries); }) .catch(function(error) { console.error(error); });
but I want to be able to show the image on a web page. Is it possible to get the url of the image once it has been uploaded? It looks like, because it is in an app folder that I have to manually allow access to the image and then create a link for it.
- Greg-DB
Dropbox Staff
Whether or not your app is using an app folder, you should be able to download or get a temporary or shared link for a file, e.g., using filesDownload, filesGetTemporaryLink, or sharingCreateSharedLinkWithSettings, respectively.
If something's not working as expected, please share any relevant code and output. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 17 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!