# Image source link broken on latest build

**URL:** <https://meta.discourse.org/t/image-source-link-broken-on-latest-build/122809>\
**Category:** Support\
**Created:** [12 ביולי,‏ 2019,‏ 3:59pm UTC](https://meta.discourse.org/t/image-source-link-broken-on-latest-build/122809 "2019-07-12T15:59:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**Post date:** [12 ביולי,‏ 2019,‏ 3:59pm UTC](https://meta.discourse.org/t/image-source-link-broken-on-latest-build/122809/1 "2019-07-12T15:59:04Z")

</div>

After updating yesterday I noticed that the download button in the lightbox no longer works on my site, it returns a 404. This is not happening on meta so I’m guessing it’s related to hosting images on digital ocean and whatever change was made to the url, I don’t recall seeing `short-url` in the past. I have the download button hidden in all public categories so I can’t just send a link to where this is happening, if anyone wants to help investigate I can add you as a member to access the area where I have it turned on.

Here is the url to the image in the lightbox:  
`https://npn.sfo2.cdn.digitaloceanspaces.com/original/2X/a/afe7074df19e40649eee63d4d11208050b92b5e9.jpeg`

And the url to the download button:  
`https://community.naturephotographers.network/uploads/short-url/p66x5snWbVSnE41dNpMKIsccLlT.jpeg?dl=1`

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [12 ביולי,‏ 2019,‏ 5:11pm UTC](https://meta.discourse.org/t/image-source-link-broken-on-latest-build/122809/2 "2019-07-12T17:11:56Z")

</div>

@pmusaraj is there any chance it’s related to this commit?

[https://github.com/discourse/discourse/commit/03805e5a76cc6bfc54cc159205ac71704ac13f04#diff-9cbdf282d05bfa042991776a62127eb9](https://github.com/discourse/discourse/commit/03805e5a76cc6bfc54cc159205ac71704ac13f04#diff-9cbdf282d05bfa042991776a62127eb9)

---

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [12 ביולי,‏ 2019,‏ 5:13pm UTC](https://meta.discourse.org/t/image-source-link-broken-on-latest-build/122809/3 "2019-07-12T17:13:30Z")

</div>

Yes, quite likely. @davidkingham please add me to the private area of your site where there is a repro for this, I’ll have a look.

---

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [12 ביולי,‏ 2019,‏ 7:07pm UTC](https://meta.discourse.org/t/image-source-link-broken-on-latest-build/122809/4 "2019-07-12T19:07:10Z")

</div>

@davidkingham do you have any customizations to your nginx server? It looks like on your site, the `uploads/short-url` request is hitting nginx. This is a new endpoint in discourse, and it should hit the app (since this [commit](https://github.com/discourse/discourse/commit/c920f9d137a86f98426b5f2c1ef90c8e3d26ecf1), anyway), in your case it’s looking for the asset directly.

If you have nothing custom in your nginx configuration, can you try doing a full rebuild through the CLI and see if that fixes the issue?

---

<div class="post-metadata">

**Author:** ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**Post date:** [12 ביולי,‏ 2019,‏ 10:13pm UTC](https://meta.discourse.org/t/image-source-link-broken-on-latest-build/122809/5 "2019-07-12T22:13:32Z")

</div>

No changes to nginx, but the rebuild seems to have fixed it, thank you!

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [13 ביולי,‏ 2019,‏ 12:18am UTC](https://meta.discourse.org/t/image-source-link-broken-on-latest-build/122809/6 "2019-07-13T00:18:46Z")

</div>


