We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
BB
10 years agoNew member | Level 2
How to use a Drobox photo in an online forum (CSS)
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 ...
- 10 years agoThis isn't officially supported, but this may work instead:
[IMG]https://dl.dropboxusercontent.com/s/ucf6qub7ueuzbez/holder.jpg[/IMG]
Greg-DB
Dropbox Community Moderator
10 years agoIt 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!
https://www.dropbox.com/help/201
Can you share the code you have so far that isn't working? Thanks in advance!
- BB10 years agoNew member | Level 2
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-DB10 years ago
Dropbox Community Moderator
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.)- BB10 years agoNew member | Level 2
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. ???
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!