# HTML image tag not working after update anki

**URL:** <https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501>\
**Category:** Help\
**Created:** [December 19, 2022, 8:15am UTC](https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501 "2022-12-19T08:15:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gigi87111](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gigi87111](https://forums.ankiweb.net/u/gigi87111)\
**Post date:** [December 19, 2022, 8:15am UTC](https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501/1 "2022-12-19T08:15:49Z")

</div>

When I typed ![]() in the HTML editor to show the picture. Ankiweb and Ankidroid can show the picture of the link, but Windows’ Anki can’t show it.

Does anyone know how to solve this problem after updating to the 2.1.5+ version of Windows’ Anki? Please suggest to me what to do.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/0/029f3ecabba5497a18ae0e84799c26e11337bf79.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/1/1dd33408034ba71bc1623385897a434aea28ff96.png)  
 ![34167](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/d/d7c5b5664b949cfd444aac480622ee41e889ecbd.jpeg)

Windows 10

Ankidroid’s version : 2.15.6

Windows’ anki version : 2.1.54 (b6a7760c)

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [December 19, 2022, 2:47pm UTC](https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501/2 "2022-12-19T14:47:06Z")

</div>

Can you post the HTML you’re typing to show the picture?

---

<div class="post-metadata">

**Author:** ![gigi87111](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gigi87111](https://forums.ankiweb.net/u/gigi87111)\
**Post date:** [December 20, 2022, 4:53am UTC](https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501/3 "2022-12-20T04:53:07Z")

</div>

my HTML：`<img src="upload://mXoRYkxoISwuUCMRg6jkC3cAzKy.jpeg">`

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [December 20, 2022, 5:52am UTC](https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501/4 "2022-12-20T05:52:04Z")

</div>

I suggest pasting the raw HTML using the **Preformatted text** option in this forum editor. Pasting HTML without doing this will make the editor render the HTML (after potentially transforming or stripping it)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [December 21, 2022, 3:46am UTC](https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501/5 "2022-12-21T03:46:46Z")

</div>

Remote image links are a bad idea, as they may break at any time. You could try localizing them: [Localize Media - AnkiWeb](https://ankiweb.net/shared/info/1293255374)

---

<div class="post-metadata">

**Author:** ![gigi87111](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gigi87111](https://forums.ankiweb.net/u/gigi87111)\
**Post date:** [December 21, 2022, 4:06am UTC](https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501/6 "2022-12-21T04:06:43Z")

</div>

```
I tried localizing them before, it showed the images.
I still want to show them with the link, because I have lots of pictures in Anki cards. When I sync between Anki and Ankidroid it would take a lot of time if I use local image.

```

---

<div class="post-metadata">

**Author:** ![gigi87111](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gigi87111](https://forums.ankiweb.net/u/gigi87111)\
**Post date:** [December 21, 2022, 4:14am UTC](https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501/7 "2022-12-21T04:14:37Z")

</div>

I pasted the raw HTML using the Preformatted text option, but it still can’t render my HTML in Anki.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [January 20, 2023, 4:15am UTC](https://forums.ankiweb.net/t/html-image-tag-not-working-after-update-anki/25501/8 "2023-01-20T04:15:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
