We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Millenium
8 years agoHelpful | Level 5
How do I embed images with a direct link from Dropbox?
Hi,
I would like to share my pictures to forums where pictures are embedded like [img]http://imageurl.jpg[/img].
How to share pictures from Dropbox to the forums like that? I cant find a option where to get direct urls.
Hi,
It is super easy to get direct download link of image files that are saved in your Dropbox account. And more importantly they will work with [img] commands used in forums that you mentioned in your question.
Here is the step by step instructions:
1) Copy Dropbox link of the image file that you want to share. (Right click on image file in your Dropbox folder and choose Copy Dropbox Link). You should have something similar to this:
https://www.dropbox.com/s/tg0cfa565aue4ak/zoo.jpg?dl=0
2) Just delete dl=0 at the end of the link and replace it with raw=1
Now your link that you gonna use should look like this:
https://www.dropbox.com/s/tg0cfa565aue4ak/zoo.jpg?raw=1
Basically, what you are doing by adding the raw=1 to the end of the link is hotlinking it. That's is sharing direct download link to the file. Anyone who clicks on hotlinked file will not see any of the Dropbox frames, logos, etc. It works for any type of file that you share.
And when you use this modified link with [img] commands there should be no problems. I always use Dropbox images on other forums.
Hope it helps!
- behzodSuper User
Hi,
It is super easy to get direct download link of image files that are saved in your Dropbox account. And more importantly they will work with [img] commands used in forums that you mentioned in your question.
Here is the step by step instructions:
1) Copy Dropbox link of the image file that you want to share. (Right click on image file in your Dropbox folder and choose Copy Dropbox Link). You should have something similar to this:
https://www.dropbox.com/s/tg0cfa565aue4ak/zoo.jpg?dl=0
2) Just delete dl=0 at the end of the link and replace it with raw=1
Now your link that you gonna use should look like this:
https://www.dropbox.com/s/tg0cfa565aue4ak/zoo.jpg?raw=1
Basically, what you are doing by adding the raw=1 to the end of the link is hotlinking it. That's is sharing direct download link to the file. Anyone who clicks on hotlinked file will not see any of the Dropbox frames, logos, etc. It works for any type of file that you share.
And when you use this modified link with [img] commands there should be no problems. I always use Dropbox images on other forums.
Hope it helps!
- MilleniumHelpful | Level 5
Thanks a lot, that really was easy :)
I wonder why DB doesnt offer a option to choose different kind of links to share content.
- goldtoothNew member | Level 2
your reply was very helpful thank you!
i revised all the image files i was trying to share with ?raw=1
that fixed my issue for almost all the files, but a handful still won't load on the other end. they get an error - unrecognized image format. meanwhile all the other images upload just fine.
do you have any suggestions?
thank you in advance
- RichSuper User IIThat's likely not an error in the image loading on the Dropbox side (test the link manually to see if it loads), but an error with the platform you're using not recognizing a URL unless it ends in a valid image extension. In those cases, there's nothing you can do.
- silvanetNew member | Level 2
OK, that doesn't work for me at all. I'm not allowed to even see the link created. If I just copy the link from the address bar, it doesn't work. I don't get the "should look something like this" link you mention. I can't share a public folder with just anyone who has the link to the folder or files in it. I can only share with specific persons I email the hidden created link to. I sent it to myself and it doesn't let you see the link. All you can do is click to see the image. I then copied the link from the browser address bar. It looks nothing like your example. There is no ?dl=0 or anything at the end of it. The name of the image file is not even exposed. What am I missing?
- RichSuper User II
silvanet wrote:
I'm not allowed to even see the link created.
Yes, you can. After the link is created you'll see two links in the Share settings for the file; Link Settings and Copy Link. Click on Copy Link and the proper link will be copied to your clipboard. Paste it where you need it and change ?dl=0 to ?raw=1.
- 310EIStar | Level 17
Millenium wrote:
Hi,
I would like to share my pictures to forums where pictures are embedded like [img]http://imageurl.jpg[/img].
I wonder why DB doesnt offer a option to choose different kind of links to share content.
Hello, Millenium...
You can read this Dropbox Help Center article that discusses dl=1 or raw=1 options.
It's your choice to use behzod's suggestion, but I think that you should know what could happen if you do.
If you link to your images/videos stored within your Dropbox account then that counts against your daily bandwidth allotment. Every time those images/videos are viewed in a forum or blog post can add-up quickly (especially when shared via different social media oulets).
NOTE: The first time that you go over your bandwidth limit will result with your Dropbox account being suspended for 24 to 72 hours (will resume automatically afterwards). However, any suspension after that will last longer so keep that in mind.
Usually, it's only a problem when you have a free Basic account, but it's something you should be aware of ahead of time. In order to avoid bandwidth limitations, you can upload your pictures/videos directly into the forum, website or blog post.
HELP CENTER ARTICLES:- Why were my links banned?
- Why did my shared link stop working?
- How do I upgrade to a Dropbox Plus subscription?
FREE DROPBOX MEMBERS SHOULD BE AWARE:- There are 20 GB bandwidth limitations set per day. This means that every file, photo or video that's viewed and/or downloaded counts against your daily allotment.
- EXAMPLE: You share a link to a 500 MB video (0.5 GB) and it's viewed 40 times in less than 24 hours, then your 20 GB bandwidth limit for a free Dropbox account has been attained (your links will be temporarily disabled, and anyone who tries to access them will see an error page instead of your files).
- Keep in mind that if you share a link with people who in turn shares the link with their friends, especially via social media, then your bandwidth limit could be reached in an hour (not hours).
- Upgrading to a Plus account will remove the daily 20 GB restriction and will increase it to 200 GB.
- MilleniumHelpful | Level 5
That's weird, DB says:
"Dropbox Plus and Business users: Beginning September 1, 2017, you can no longer render HTML content."
But I have Plus account (1TB) and my picturs can be seen with raw=1 ?
- wigwamtoysNew member | Level 2
Hello,
We have a large folder of images I need to link via spreadsheet to upload to our shop website on opencart. I have found instructions about editing the end of links to be ?raw=1 to hotlink, but despite my best efforts the links do not pull through and download from dropbox like they have done with other hotlinks i've made on our site. Here's a screenshot of my spreadsheet; the non-dropbox links have worked but the dropbox ones don't. Any ideas?
Alternatively if anyone has any other solutions please let me know your ideas..
- RichSuper User II
wigwamtoys wrote:
... the links do not pull through and download from dropbox like they have done with other hotlinks i've made on our site.
All of your links appear to be working just fine, so this isn't a Dropbox issue. The problem is likely in how you're linking them or how your shreadsheet program is handling the links.
- wigwamtoysNew member | Level 2
I see..strange. When I tested them they worked for me too; the raw image just opening as it should in my browser.
Thanks for the reply :cry: Wonder how i can solve my issue lol
- otelhanNew member | Level 2
Hi,
Is there an option for uploading images, getting a temporary link that is displayeable on a website?
I noticed that the GetTemporaryUploadLinkResult provides a link that forces the browsers download the image instead of displaying them.
Is there a displayeable alternative that can be called through the API, instead of manually creating links for every image.
Thanks
[This thread is now closed by moderators due to inactivity. If you're experiencing a similar behavior, feel free to start a new discussion in the Dropbox Community here.]
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
Need more support
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!