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]
BB
10 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-DB
Dropbox Community Moderator
10 years agoThat 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.)
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. ???
- Greg-DB10 years ago
Dropbox Community Moderator
This isn't officially supported, but this may work instead:
[IMG]https://dl.dropboxusercontent.com/s/ucf6qub7ueuzbez/holder.jpg[/IMG]- BB10 years agoNew member | Level 2
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! :)
- dude693510 years agoNew member | Level 2
Can you also resize the image using such a link?
- Greg-DB10 years ago
Dropbox Community Moderator
No, shared links don't offer resizing functionality.
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!