# 由于CDN导致图片无法显示？

**URL:** <https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348>\
**Category:** Support\
**Created:** [2018年九月4日 18:41 UTC](https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348 "2018-09-04T18:41:17Z")\
**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:** [2018年九月4日 18:41 UTC](https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348/1 "2018-09-04T18:41:17Z")

</div>

I have an odd problem that popped up today, all images are not displaying:

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/7/97c1bf1a2b3d26f074f406b377713bc8adbe2a7d.png)  
and in the lightbox:  
 ![image](https://global.discourse-cdn.com/meta/original/3X/1/7/172a6fed777f20da9b8e4532521762fe717774c9.png)  
Everything has been working perfectly for weeks and it stopped this morning. I have had a few users report this same problem, but most users are having no issues.

I have tried different browsers, different devices, logged in as a different user, logged out, in [safe mode](https://meta.discourse.org/t/53504?silent=true), different isp, nothing works.

Some background: I am using s3 going through a CDN. I have not made any changes to anything from last night when it was working to now.

If I copy the link to the image I can open in a new tab without issue, so for some reason discourse isn’t displaying it, but only to me and few other users… 😕

---

<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:** [2018年九月4日 22:54 UTC](https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348/2 "2018-09-04T22:54:06Z")

</div>

> [@davidkingham](#):
>
> so for some reason discourse isn’t displaying it, but only to me and few other users

This is the definition of a CDN issue. If it is working for “some users” but “not you”, then it’s likely because those users are hitting a different CDN node, somewhere else in the world more geographically close to them.

---

<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:** [2018年九月4日 22:56 UTC](https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348/3 "2018-09-04T22:56:23Z")

</div>

Makes sense, it has since come back up for me. I guess the only reason I thought it was a discourse problem is because when I copied the link and opened in a new window it opened up with no problem, any idea why that would be?

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2021年四月25日 11:19 UTC](https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348/4 "2021-04-25T11:19:33Z")

</div>



---

<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:** [2021年四月25日 17:29 UTC](https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348/5 "2021-04-25T17:29:30Z")

</div>

此问题可以关闭，我已切换到 BunnyCDN，此后未再遇到任何问题。

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2021年四月26日 01:26 UTC](https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348/6 "2021-04-26T01:26:37Z")

</div>


