cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Known issues - updated June 18th see more

How to get url with .jpg end and what works with [img] tags?

SOLVED
Go to solution
3,126 Views
12 Comments
12 Kudos
Highlighted
Level 4

How to get url with .jpg end and what works with [img] tags?

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
Solution
Super User

Re: How to get url with .jpg end and what works with [img] tags?

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!

12 Replies
Solution
Super User

Re: How to get url with .jpg end and what works with [img] tags?

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!

Level 4

Re: How to get url with .jpg end and what works with [img] tags?

Thanks a lot, that really was easy slightly smiling face

 

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

Super User

Re: How to get url with .jpg end and what works with [img] tags?


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.
Level 4

Re: How to get url with .jpg end and what works with [img] tags?

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 ?

 

Super User II

Re: How to get url with .jpg end and what works with [img] tags?

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


 


PenguinPenguin - 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 Counter Clock 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! 


 

Level 2

Re: How to get url with .jpg end and what works with [img] tags?

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

Super User II

Re: How to get url with .jpg end and what works with [img] tags?

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.

Level 2

Re: How to get url with .jpg end and what works with [img] tags?

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!

Level 2

Hotlinking images not working

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..

 

Still stuck? Contact Support directly, or ask a question on the community.
Still stuck?
Top Contributors
Rich 4690
Mark 3651
Jane 1029
Tom_M 886
Greg K. 799