# Wrap remote images in span element (like local wikilink images)

**URL:** <https://forum.obsidian.md/t/wrap-remote-images-in-span-element-like-local-wikilink-images/29172>\
**Category:** Feature requests\
**Created:** [December 24, 2021, 2:25am UTC](https://forum.obsidian.md/t/wrap-remote-images-in-span-element-like-local-wikilink-images/29172 "2021-12-24T02:25:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kepano](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kepano/32/23113_2.png) [@kepano](https://forum.obsidian.md/u/kepano)\
**Post date:** [December 24, 2021, 2:25am UTC](https://forum.obsidian.md/t/wrap-remote-images-in-span-element-like-local-wikilink-images/29172/1 "2021-12-24T02:25:39Z")

</div>

In Preview mode Wikilink image embeds are wrapped in a `<span>` element whereas Markdown images are not.

For consistency and extensibility, making remote images follow the same convention would be useful.

For example, this would enable snippets like [Image grids](https://forum.obsidian.md/t/display-side-by-side-image-grid-deprecated/9359) to work for remote images.

---

<div class="post-metadata">

**Author:** ![joeyli](https://forum.obsidian.md/user_avatar/forum.obsidian.md/joeyli/32/4692_2.png) [@joeyli](https://forum.obsidian.md/u/joeyli)\
**Post date:** [December 24, 2021, 7:44am UTC](https://forum.obsidian.md/t/wrap-remote-images-in-span-element-like-local-wikilink-images/29172/2 "2021-12-24T07:44:25Z")

</div>

At present, this issue causes Minimal’s Image Grids feature to only be used for wiki-links syntax (like `![[xxx.jpg]]` ), while Markdown syntax (like `![](assets/xxx.jpg)` ） is invalid.

I’m not a technical person, so I don’t clear the technical details, hope Obsidian developers can consider how to solve it. Thanks!
