cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

How to use a Drobox photo in an online forum (CSS)

How to use a Drobox photo in an online forum (CSS)

BB
New member | Level 2
Go to solution

I've researched this topic, buy can't seem to find any info that is correct. How do you use photos, .pngs, or gifs that are in my Dropbox and have them show up in an online forum that uses CSS? I've seen someone say that after creating a public link, you change the ending to raw=1   However, this does not work. The photo when placed between image tags [IMG][/IMG] does not show up. Is there a solution?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
This isn't officially supported, but this may work instead:

[IMG]https://dl.dropboxusercontent.com/s/ucf6qub7ueuzbez/holder.jpg[/IMG]

View solution in original post

8 Replies 8

Greg-DB
Dropbox Staff
Go to solution
It sounds like you're referring this feature of shared links:

https://www.dropbox.com/help/201

Can you share the code you have so far that isn't working? Thanks in advance!

BB
New member | Level 2
Go to solution

https://www.dropbox.com/s/ucf6qub7ueuzbez/holder.jpg?dl=0

 

Although in reading that link you just gave, it basically states that it doesn't work after Oct. 3rd of this year if I'm reading that correctly.

Greg-DB
Dropbox Staff
Go to solution
That note is about hosting and rendering .html files in particular. Image files are fine.

For example, using your sample link, you can embed it as an image using:

<img src="https://www.dropbox.com/s/ucf6qub7ueuzbez/holder.jpg?raw=1">

I just tried that out and it worked for me. (You'll have to translate that for the syntax for whatever forum you're using though.)

BB
New member | Level 2
Go to solution

But in posting on forums when you just need a direct link to a photo between image tags [IMG]https://www.dropbox.com/s/ucf6qub7ueuzbez/holder.jpg?raw=1[/IMG] it doesn't work and says that dynamic pages in the image tags are not allowed. ???

Greg-DB
Dropbox Staff
Go to solution
This isn't officially supported, but this may work instead:

[IMG]https://dl.dropboxusercontent.com/s/ucf6qub7ueuzbez/holder.jpg[/IMG]

BB
New member | Level 2
Go to solution

Whoa......I have no clue how you did that, but it works! 🙂 Looks like just changing the first part to dl.dropboxusercontent.com and keepign the rest does the trick. THANK YOU! 🙂

dude6935
New member | Level 2
Go to solution

Can you also resize the image using such a link?

Greg-DB
Dropbox Staff
Go to solution
No, shared links don't offer resizing functionality.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    dude6935 New member | Level 2
  • User avatar
    BB New member | Level 2
What do Dropbox user levels mean?