# Display Hero Icons as images in List view based on condition

**URL:** <https://community.glideapps.com/t/display-hero-icons-as-images-in-list-view-based-on-condition/64009>\
**Category:** Ask for Help\
**Created:** [July 17, 2023, 1:28pm UTC](https://community.glideapps.com/t/display-hero-icons-as-images-in-list-view-based-on-condition/64009 "2023-07-17T13:28:12Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 18, 2023, 9:42pm UTC](https://community.glideapps.com/t/display-hero-icons-as-images-in-list-view-based-on-condition/64009/15 "2023-07-18T21:42:02Z")

</div>

> [@StefanvanLierop](#):
>
> Is it correct that a Boolean column returns true or empty (and not false)?

A boolean can be either true, false, or blank. Your approach to fix it is perfect! Checking specifically for false is never ideal and can bite you…unless you have a scenario where blank would be a valid option too. Glide did account for that in the IF column by allowing you to check if a boolean is checked or unchecked instead of true or false, but that doesn’t apply to javascript, so what you did is good.

---

_[View the full topic](https://community.glideapps.com/t/display-hero-icons-as-images-in-list-view-based-on-condition/64009)._
