# Issue: Images are not displayed correctly when the attachment path contains Chinese characters

**URL:** <https://community.silverbullet.md/t/issue-images-are-not-displayed-correctly-when-the-attachment-path-contains-chinese-characters/1839>\
**Category:** Edge\
**Created:** [February 22, 2025, 4:21pm UTC](https://community.silverbullet.md/t/issue-images-are-not-displayed-correctly-when-the-attachment-path-contains-chinese-characters/1839 "2025-02-22T16:21:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daydaya](https://community.silverbullet.md/user_avatar/community.silverbullet.md/daydaya/32/284_2.png) [@daydaya](https://community.silverbullet.md/u/daydaya)\
**Post date:** [February 22, 2025, 4:21pm UTC](https://community.silverbullet.md/t/issue-images-are-not-displayed-correctly-when-the-attachment-path-contains-chinese-characters/1839/1 "2025-02-22T16:21:45Z")

</div>

- I am using the latest version of Edge, and this issue does not occur in version 0.10.1.

- In the browser’s console error logs, I noticed that the `/` characters before and after the Chinese characters in the path are being converted to `%2F`. For example, my image embedding path is `![[附件/有点意思/2025-02-22_19-57-53.jpeg|200]]`, but the browser retrieves the path as `https://mysite.com/%E9%99%84%E4%BB%B6%2F%E6%9C%89%E7%82%B9%E6%84%8F%E6%80%9D%2F2025-02-22_19-57-53.jpeg`.

- When I directly embed a page containing the image using `![[test]]`, the image is displayed correctly.

---

<div class="post-metadata">

**Author:** ![daydaya](https://community.silverbullet.md/user_avatar/community.silverbullet.md/daydaya/32/284_2.png) [@daydaya](https://community.silverbullet.md/u/daydaya)\
**Post date:** [February 28, 2025, 7:29am UTC](https://community.silverbullet.md/t/issue-images-are-not-displayed-correctly-when-the-attachment-path-contains-chinese-characters/1839/2 "2025-02-28T07:29:42Z")

</div>

I installed the same version of Silverbullet on my local computer and found everything to be working fine without any issues.

Then I completely reinstalled it on Docker and tried again, but the problem persists. What should I provide to help troubleshoot the issue?

---

<div class="post-metadata">

**Author:** ![daydaya](https://community.silverbullet.md/user_avatar/community.silverbullet.md/daydaya/32/284_2.png) [@daydaya](https://community.silverbullet.md/u/daydaya)\
**Post date:** [February 28, 2025, 9:52am UTC](https://community.silverbullet.md/t/issue-images-are-not-displayed-correctly-when-the-attachment-path-contains-chinese-characters/1839/3 "2025-02-28T09:52:09Z")

</div>

> <https://github.com/silverbulletmd/silverbullet/issues/1269>
>
> Hi!
> 
> First of all: thank you for your efforts regarding Silverbullet - it looks …very promising, after trying myriads of outer note taking solutions.
> 
> However, I have problems uploading images (both on my Docker installation v 0.10.4 and on play.silverbullet.md): When you upload an image, you are asked for the image name, but after the upload the image is empty or cannot be found. If you upload it in offline mode and then switch to online mode, the image is there.
> 
> As I said, this also happens to me on play.silverbullet.md. I've tried different browsers, on smartphone, iPad etc. with the same outcome.

这个问题可能与我的情况类似，切换为离线模式图片就能正常加载。
