# Page doesn't show image from DropBox

**URL:** <https://forum.freecodecamp.org/t/page-doesnt-show-image-from-dropbox/132270>\
**Category:** General\
**Created:** [June 27, 2017, 4:54am UTC](https://forum.freecodecamp.org/t/page-doesnt-show-image-from-dropbox/132270 "2017-06-27T04:54:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![EnnisP](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ennisp/32/59786_2.png) [@EnnisP](https://forum.freecodecamp.org/u/EnnisP)\
**Post date:** [June 27, 2017, 4:54am UTC](https://forum.freecodecamp.org/t/page-doesnt-show-image-from-dropbox/132270/1 "2017-06-27T04:54:24Z")

</div>

Good Day,

I’m having trouble getting an image to show on my tribute page in codepen. The image is hosted on DropBox. The URL is:

src=“[https://www.dropbox.com/s/o5hyycjoqfh1fo1/chocolate-coffee-550x275px%20rsz.jpg?dl=0](https://www.dropbox.com/s/o5hyycjoqfh1fo1/chocolate-coffee-550x275px%20rsz.jpg?dl=0)” alt=“coffee and chocolate” style=“width: 550px; height: 275px;”

A placeholder border is showing with an image icon in the top left corner and the alt text but that’s it.

Not sure what I’m doing wrong. Please help.

Thanks,  
Ennis

---

<div class="post-metadata">

**Author:** ![kevcomedia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevcomedia/32/125737_2.png) [@kevcomedia](https://forum.freecodecamp.org/u/kevcomedia)\
**Post date:** [June 27, 2017, 5:06am UTC](https://forum.freecodecamp.org/t/page-doesnt-show-image-from-dropbox/132270/2 "2017-06-27T05:06:47Z")

</div>

Try changing the `dl=0` to `dl=1` at the end.

Related:

> **[Dropbox Images\_how to render image links visible to all in Codepen](https://forum.freecodecamp.org/t/dropbox-images-how-to-render-image-links-visible-to-all-in-codepen/126887)**
>
> Hello world! In the portfolio section of my personal portfolio page: (link here: https://codepen.io/Eddie\_Romans/full/OmYxaL/), I am using some screenshots of other pens that I have uploaded to Dropbox; I guess that by being the “owner” of the...

---

<div class="post-metadata">

**Author:** ![EnnisP](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ennisp/32/59786_2.png) [@EnnisP](https://forum.freecodecamp.org/u/EnnisP)\
**Post date:** [June 27, 2017, 5:22am UTC](https://forum.freecodecamp.org/t/page-doesnt-show-image-from-dropbox/132270/3 "2017-06-27T05:22:53Z")

</div>

Thanks Kevcomedia. That worked. Is there any documentation you can point to that would explain the reasoning behind this small code change. I will, of course, start googling but thought I would as for directions too.

Thanks again.

---

<div class="post-metadata">

**Author:** ![kevcomedia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevcomedia/32/125737_2.png) [@kevcomedia](https://forum.freecodecamp.org/u/kevcomedia)\
**Post date:** [June 27, 2017, 1:55pm UTC](https://forum.freecodecamp.org/t/page-doesnt-show-image-from-dropbox/132270/4 "2017-06-27T13:55:37Z")

</div>

> To force a browser to download a file or folder rather than display it, you can use `dl=1` as a query parameter in your URL. For example:

> `https://www.dropbox.com/s/a1b2c3d4ef5gh6/example.docx?dl=1`

> [How to force a Dropbox link to download - Dropbox Help](https://www.dropbox.com/help/desktop-web/force-download)

---

<div class="post-metadata">

**Author:** ![EnnisP](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ennisp/32/59786_2.png) [@EnnisP](https://forum.freecodecamp.org/u/EnnisP)\
**Post date:** [June 27, 2017, 2:22pm UTC](https://forum.freecodecamp.org/t/page-doesnt-show-image-from-dropbox/132270/5 "2017-06-27T14:22:53Z")

</div>

@kevcomedia

Thanks very much. Wasn’t aware of the dl issue but I changed it and it worked nicely.

---

<div class="post-metadata">

**Author:** ![KasiaM](https://avatars.discourse-cdn.com/v4/letter/k/e0b2c6/32.png) [@KasiaM](https://forum.freecodecamp.org/u/KasiaM)\
**Post date:** [April 7, 2019, 8:28pm UTC](https://forum.freecodecamp.org/t/page-doesnt-show-image-from-dropbox/132270/6 "2019-04-07T20:28:44Z")

</div>

It’s almost 2 years since your post and today it helped me. I had the same problem and was very happy to find this post and then to see that it helped me to display my picture. I very much appreciate it. Thank you!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 5:51pm UTC](https://forum.freecodecamp.org/t/page-doesnt-show-image-from-dropbox/132270/7 "2021-01-16T17:51:29Z")

</div>

Closed on January 16, 2021, 5:51pm UTC


