cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

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.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I embed images with a direct link from Dropbox?

How do I embed images with a direct link from Dropbox?

Millenium
Helpful | Level 5
Go to solution

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.

1 Accepted Solution

Accepted Solutions

behzod
Super User
Go to solution

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!

View solution in original post

20 Replies 20

behzod
Super User
Go to solution

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!

Millenium
Helpful | Level 5
Go to solution

Thanks a lot, that really was easy 🙂

 

I wonder why DB doesnt offer a option to choose different kind of links to share content.

310EI
Super User
Go to solution

@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:



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.

Millenium
Helpful | Level 5
Go to solution

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 ?

 

Mark
Super User II
Go to solution

Because they are not in the public folder @Millenium - its only that one way of doing it that stopped.


 


:penguin::penguin: - :penguin: - :penguin: - :penguin:


Heart Did this post help you? If so please mark it for some Kudos below. 


:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.


:arrows_counterclockwise: Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible! 


 

goldtooth
New member | Level 2
Go to solution

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

Rich
Super User II
Go to solution
That'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.

goldtooth
New member | Level 2
Go to solution

thank you for your prompt reply.

 

and you're correct. after scanning the thousands of images, i realized a handful did not have image file extensions.  doh.

 

thanks! huge help!

wigwamtoys
New member | Level 2
Go to solution

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?

2018-05-17 14_32_48-Clipboard.png

 

 

 

 

 

Alternatively if anyone has any other solutions please let me know your ideas..

 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    otelhan New member | Level 2
  • User avatar
    silvanet New member | Level 2
  • User avatar
    Rich Super User II
What do Dropbox user levels mean?