Forum Discussion

metaclay's avatar
metaclay
New member | Level 2
4 years ago

Get link to my images using filename not by dropbox-generated ID.

 Hi i'm trying to make my personal dynamic web. Where i need to get access to my images stored in dropbox. But i need to get the link by its filename , not by ID generated by dropbox. I'm storing my filename in my database ( i use google sheet to store the list of filenames) :

image_001.png

image_002.png

etc

 

So the my webpage will request this filename from the database (for example when users choose the filename from dropdown menu in my homepage) then it will generate dynamic link to the image for example : <img src="_whatever_filename_selected_by_user_">.

 

Also i heard about temporary link API but it's temporary and will expired. I want it to be permanent. Is it possible ?

 

If i have to use the ID then i have to input the ID manually one by one to my database, but if i have 1000 images, definitely i don't want to do that.  Is there any method to retrieve for example in current folder i can get the list of all ID and its corresponding filename at once so i can easily input to my database. Any tips or idea ?

 

Or does anyone know any other image hosting that can offer this feature ?

 

Thanks

About Dropbox API Support & Feedback

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