# How do I display default/another image when the field image is empty?

**URL:** <https://community.glideapps.com/t/how-do-i-display-default-another-image-when-the-field-image-is-empty/38303>\
**Category:** Ask for Help\
**Created:** [February 9, 2022, 2:37pm UTC](https://community.glideapps.com/t/how-do-i-display-default-another-image-when-the-field-image-is-empty/38303 "2022-02-09T14:37:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![remoteworker.id](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/remoteworker.id/32/36396_2.png) [@remoteworker.id](https://community.glideapps.com/u/remoteworker.id)\
**Post date:** [February 9, 2022, 2:37pm UTC](https://community.glideapps.com/t/how-do-i-display-default-another-image-when-the-field-image-is-empty/38303/1 "2022-02-09T14:37:03Z")

</div>

Below is story like feature that I have been working on in my app. And you can see that some of the image is not setup for an account.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/7/d7bcee3deeceb5a119e358afb3899639c618932c.jpeg)

If the image is not yet setup, how can I display default/standard image?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 9, 2022, 2:39pm UTC](https://community.glideapps.com/t/how-do-i-display-default-another-image-when-the-field-image-is-empty/38303/2 "2022-02-09T14:39:35Z")

</div>

Use an if-then-else column.

- If image is empty, then default image
- Else image

---

<div class="post-metadata">

**Author:** ![fluittsolutions](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fluittsolutions/32/30155_2.png) [@fluittsolutions](https://community.glideapps.com/u/fluittsolutions)\
**Post date:** [February 9, 2022, 4:19pm UTC](https://community.glideapps.com/t/how-do-i-display-default-another-image-when-the-field-image-is-empty/38303/3 "2022-02-09T16:19:59Z")

</div>

I also did what @Darren_Murphy did. One column of the specific logo. A different column with a generic logo. IF specific logo column empty THEN generic logo.

---

<div class="post-metadata">

**Author:** ![remoteworker.id](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/remoteworker.id/32/36396_2.png) [@remoteworker.id](https://community.glideapps.com/u/remoteworker.id)\
**Post date:** [February 10, 2022, 3:00pm UTC](https://community.glideapps.com/t/how-do-i-display-default-another-image-when-the-field-image-is-empty/38303/4 "2022-02-10T15:00:56Z")

</div>

Thanks!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/0/40530620a9d8acd0b04aab5ab35c95864a2c681f.jpeg)

Solved by first uploadig default image and then using the absolute path of the image as ELSE column

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/c/5cb0c0450edf65de1744ee24b1d4b491d2854107.jpeg)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 10, 2022, 3:09pm UTC](https://community.glideapps.com/t/how-do-i-display-default-another-image-when-the-field-image-is-empty/38303/5 "2022-02-10T15:09:45Z")

</div>

> [@remoteworker.id](#):
>
> Solved by first uploadig default image and then using the absolute path of the image as ELSE column

You could add your default image to a Glide Image column, and then refer to that column in the if-then-else.

---

<div class="post-metadata">

**Author:** ![11183](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/11183/32/29797_2.png) [@11183](https://community.glideapps.com/u/11183)\
**Post date:** [February 10, 2022, 5:03pm UTC](https://community.glideapps.com/t/how-do-i-display-default-another-image-when-the-field-image-is-empty/38303/6 "2022-02-10T17:03:08Z")

</div>

OR we could go further, be little more creative and use [the service with nice generative avatars with simple API](https://api.multiavatar.com) (or smth similar) 🙂

---

<div class="post-metadata">

**Author:** ![remoteworker.id](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/remoteworker.id/32/36396_2.png) [@remoteworker.id](https://community.glideapps.com/u/remoteworker.id)\
**Post date:** [February 12, 2022, 5:55am UTC](https://community.glideapps.com/t/how-do-i-display-default-another-image-when-the-field-image-is-empty/38303/7 "2022-02-12T05:55:44Z")

</div>

Just perfect!  
20k/month api hit… I hope it’s enough for now.  
Wouldn’t mind paying tho!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/3/834899ae69153f1a163773cf617dd72868f16601.jpeg)
