We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Legalas61
7 years agoExplorer | Level 3
How to insert a picture from the application on the site?
Hi Dropbox! Now I am learning Django, I am creating the first application. Deployed this application to Heroku. As a file storage for pictures, I decided to use Dropbox. Now I am adding a picture t...
Legalas61
7 years agoExplorer | Level 3
Thanks for the advice! The method helped to get the link,
<img class="main_img" src="'https://www.dropbox.com/s/55dbx3w7hq6ejp2/regular_picture-e8d4091b6a6d555b697bac3f9af0d728.jpg?dl=0" alt="***">
but the browser does not display the image. Can I get a direct link, not a download link?
Greg-DB
Dropbox Community Moderator
7 years agoYes, if you need direct links, you can modify the shared links returned by sharing_list_shared_links or sharing_create_shared_link_with_settings as documented in this help article.
Alternatively, if you need direct links and the links don't need to be long-lived, you can just use files_get_temporary_link instead. That returns direct links that last four hours.
- Legalas617 years agoExplorer | Level 3
Not. Too many restrictions and difficult to implement. I solved the problem by switching to another service. Thank you for your time.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!