Forum Discussion

grahamjroy's avatar
grahamjroy
New member | Level 2
8 years ago

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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 17 hours ago
351 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!