# \[Kibana 7.2\] Insert local image on a markdown visualization

**URL:** <https://discuss.elastic.co/t/kibana-7-2-insert-local-image-on-a-markdown-visualization/192467>\
**Category:** Kibana\
**Created:** [July 26, 2019, 2:53pm UTC](https://discuss.elastic.co/t/kibana-7-2-insert-local-image-on-a-markdown-visualization/192467 "2019-07-26T14:53:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ea1987](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ea1987/32/51356_2.png) [@ea1987](https://discuss.elastic.co/u/ea1987)\
**Post date:** [July 26, 2019, 2:53pm UTC](https://discuss.elastic.co/t/kibana-7-2-insert-local-image-on-a-markdown-visualization/192467/1 "2019-07-26T14:53:34Z")

</div>

Hi guys,  
can you please explain in me details how should I achieve this requirement? I searched in the forum, but I could find only some topics about previous Kibana 6.x version.  
Thank you very much!

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [July 29, 2019, 6:39pm UTC](https://discuss.elastic.co/t/kibana-7-2-insert-local-image-on-a-markdown-visualization/192467/2 "2019-07-29T18:39:52Z")

</div>

Images have to be served by a URL. Something like `![My-Image](https://example.com/image.png)`.

There is a suggestion here that may help.

> [@Load image with Markdown in Dashboard](https://discuss.elastic.co/t/load-image-with-markdown-in-dashboard/160174/2):
>
> file//usr/share/kibana/src/ui/public/image/image.png Unless you can open that file like that from your browser (and I would be really surprised if you could), it's not going to work. The path you put in there needs to load on its own for it to work right. src/ui/public isn't really the right place to drop files, that's where plugin code goes, and static files are not served from that path. In fact, I don't think there's any path that Kibana will serve static assets from. You'll need some oth…

---

<div class="post-metadata">

**Author:** ![ea1987](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ea1987/32/51356_2.png) [@ea1987](https://discuss.elastic.co/u/ea1987)\
**Post date:** [July 31, 2019, 4:31pm UTC](https://discuss.elastic.co/t/kibana-7-2-insert-local-image-on-a-markdown-visualization/192467/3 "2019-07-31T16:31:51Z")

</div>

I have used another path (most recent, I guess):

_\<kb\_home\>/src/legacy/ui/public/assets/favicons/\<custom\_folder\>_

And I refer to local png in this way

_http://\<kb\_host\>:\<kb\_port\>/ui/favicons/\<custom\_folder\>/\<custom\_image\>.png_

Thank you for your help Nick!  
Andrea

---

<div class="post-metadata">

**Author:** ![Ron70](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@Ron70](https://discuss.elastic.co/u/Ron70)\
**Post date:** [July 31, 2019, 5:13pm UTC](https://discuss.elastic.co/t/kibana-7-2-insert-local-image-on-a-markdown-visualization/192467/4 "2019-07-31T17:13:05Z")

</div>

Hi,

in order to embed an image directly in the Markdown visualization you can use the „trick“ given in chapter „Embedding images“ on this website: [https://logz.io/blog/kibana-hacks/](https://logz.io/blog/kibana-hacks/)

Please be aware that there are size limitations for images embedded using this way.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 28, 2019, 5:13pm UTC](https://discuss.elastic.co/t/kibana-7-2-insert-local-image-on-a-markdown-visualization/192467/5 "2019-08-28T17:13:08Z")

</div>

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