# How to display images stored per record in Kibana

**URL:** <https://discuss.elastic.co/t/how-to-display-images-stored-per-record-in-kibana/334487>\
**Category:** Kibana\
**Created:** [May 27, 2023, 5:06am UTC](https://discuss.elastic.co/t/how-to-display-images-stored-per-record-in-kibana/334487 "2023-05-27T05:06:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![damonmaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/damonmaria/32/12998_2.png) [@damonmaria](https://discuss.elastic.co/u/damonmaria)\
**Post date:** [May 27, 2023, 5:06am UTC](https://discuss.elastic.co/t/how-to-display-images-stored-per-record-in-kibana/334487/1 "2023-05-27T05:06:49Z")

</div>

Our records contain URLs to images (stored outside of ES). My goal is to be able to ad-hoc filter for records and then see all these images from the records.

The best I've been able to achieve is switching from the Document Explorer back to the 'classic' view, disable truncation by setting "Maximum table cell height" to zero, changing the format of the field to Url with Type image, and then adding that field to a discover result. I have to limit the height in the field for it to not get out of control. This works OK, but I would prefer if the image shown could be clickable which would open the URL in a new tab.

I know images can be displayed in Markdown but I don't know how this could be show multiple records.

Am I missing something? Are there better ideas? Plugins?

Any advice appreciated thank you.

---

<div class="post-metadata">

**Author:** ![jughosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jughosta/32/107160_2.png) [@jughosta](https://discuss.elastic.co/u/jughosta)\
**Post date:** [May 27, 2023, 9:41am UTC](https://discuss.elastic.co/t/how-to-display-images-stored-per-record-in-kibana/334487/2 "2023-05-27T09:41:16Z")

</div>

Hi @damonmaria,

Currently, the same field can't be formatted both as a link and as an image. I would recommend to format your original field as an image and create a separate runtime field with the same value and format it as a link. This way you will be able to see both an image and a link for each document in the grid (after adding 2 columns to the grid).

In recent Kibana versions there is a configuration for Row height. Please try with "Auto fit" or "Custom" setting instead of switching to the classic view.

 ![Screenshot 2023-05-27 at 11.38.25](https://us1.discourse-cdn.com/elastic/original/3X/a/2/a28b16ebaebe6c517720035d7391ac3c59e24f49.png)

---

<div class="post-metadata">

**Author:** ![damonmaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/damonmaria/32/12998_2.png) [@damonmaria](https://discuss.elastic.co/u/damonmaria)\
**Post date:** [May 28, 2023, 2:02am UTC](https://discuss.elastic.co/t/how-to-display-images-stored-per-record-in-kibana/334487/3 "2023-05-28T02:02:38Z")

</div>

Thanks @jughosta. I upgraded from version 7 to 8.8 and now see the Auto Fit you're talking about. That's much better to not have to revert to the classic view.

Is it possible to add a feature request that image URLs could also be enabled as links too?

---

<div class="post-metadata">

**Author:** ![jughosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jughosta/32/107160_2.png) [@jughosta](https://discuss.elastic.co/u/jughosta)\
**Post date:** [May 28, 2023, 8:03am UTC](https://discuss.elastic.co/t/how-to-display-images-stored-per-record-in-kibana/334487/4 "2023-05-28T08:03:49Z")

</div>

Sure, feel free to mention your use case in Kibana repo:

> <https://github.com/elastic/kibana/issues/102362>
>
> URL field formatter has more enhancement requests than all other formatters comb…ined. This meta issue groups them as this likely better to be looked at a higher level: 
> 
> Possible shorter term:
> 
> \* Better Kibana links integration https://github.com/elastic/kibana/issues/53763 \*\*(can we integrate with drilldowns?)\*\*
> \* Base path / spaces issues https://github.com/elastic/kibana/issues/99171
> \* Don't trigger page reload https://github.com/elastic/kibana/issues/68493
> \* Integrate external URL allow-serivce https://github.com/elastic/kibana/issues/86058
> \* Then extend allowed protocols: https://github.com/elastic/kibana/issues/16983 
> \* Additional variables \*\*(can we integrate with URL drilldown context?)\*\*, \*\*can we reuse URL drilldown editor\*\*?
> \* https://github.com/elastic/kibana/issues/77087
> \* Passing time context https://github.com/elastic/kibana/issues/23263
> 
> Longer-term:
> 
> \* Use multiple fields to build the URL? https://github.com/elastic/kibana/issues/11448 
> \* Preview images/URLs from field formatter https://github.com/elastic/kibana/issues/57328
> 
> 
> Tech-debt/testing:
> 
> \* Increase functional test coverage 
> \* No test in Discover - https://github.com/elastic/kibana/issues/55557 
> \* Skipped test in Dashboard https://github.com/elastic/kibana/issues/79463

---

<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:** [June 25, 2023, 8:04am UTC](https://discuss.elastic.co/t/how-to-display-images-stored-per-record-in-kibana/334487/5 "2023-06-25T08:04:25Z")

</div>

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