# 在聊天中上传图片，使用 s3 CDN 时无法正常显示

**URL:** <https://meta.discourse.org/t/upload-images-in-chat-cant-be-show-normally-when-use-s3-cdn/365540>\
**Category:** Bug\
**Tags:** chat, fixed\
**Created:** [2025年五月10日 00:03 UTC](https://meta.discourse.org/t/upload-images-in-chat-cant-be-show-normally-when-use-s3-cdn/365540 "2025-05-10T00:03:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cuo\_wu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cuo_wu/32/498442_2.png) [@cuo\_wu](https://meta.discourse.org/u/cuo_wu)\
**Post date:** [2025年五月10日 00:03 UTC](https://meta.discourse.org/t/upload-images-in-chat-cant-be-show-normally-when-use-s3-cdn/365540/1 "2025-05-10T00:03:38Z")

</div>

聊天中用户上传的图片无法正常显示。

 ![一个名为“吹水”的微信聊天群正在讨论邮件管理，其中一名成员提到收件箱已满，另一名成员发送了一个附件来设置它。(由 AI 生成标题)](https://global.discourse-cdn.com/meta/original/4X/9/c/f/9cf061af70274ca02264c1cd5a4c933257203e0d.png)

但是当我点击它时，它可以正确显示。

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/e/d/1eda52b75495f4aef886f5896f5f74f324536beb.jpeg)

我检查了 HTML，发现无法正常显示时，URL 是 S3 URL。

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/e/3/ae37d2de80b8141ee372f9055952d4dda0526d33.png)

看起来 src URL 不正确。谢谢。

---

_[View the full topic](https://meta.discourse.org/t/upload-images-in-chat-cant-be-show-normally-when-use-s3-cdn/365540)._
