Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
nitin b.
9 years agoNew member | Level 1
How to embed Images stored on DropBox, into an Ecommerce Marketplace
Hi, I am a seller of some products in India. I have some photographs of my products on DropBox. I have shared the Link of the Photograph into the MarketPlace (ECommerce Interface) .... But the images don't appear. Please advice how to do it ....
2 Replies
Replies have been turned off for this discussion
- Rich9 years ago
Super User II
Create a share link to the image and then change the ?dl=0 at the end to ?raw=1.
A share link with ?dl=0 at the end will open in the preview page. This is the default behavior of a share link.
A share link with ?dl=1 at the end will force your browser to download the file. Either the browser will immediately start the download, or it will prompt the user to download the file.
A share link with ?raw=1 at the end will tell your browser to handle the file as it sees fit; either display in the browser, open in a configured application, or present it for download. Using this option you can display, for instance, an inline image in a forum post.
Examples using an animated GIF file:
- Greg-DB9 years ago
Dropbox Community Moderator
Rich is correct, shared links only point to an HTML preview page by default. If that's the issue, you'll need to modify them as he described. There's a help article that documents these options here:
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!