# How to set a default image?

**URL:** <https://community.glideapps.com/t/how-to-set-a-default-image/78727>\
**Category:** Ask for Help\
**Created:** [December 22, 2024, 9:19am UTC](https://community.glideapps.com/t/how-to-set-a-default-image/78727 "2024-12-22T09:19:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yvann](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yvann/32/67879_2.png) [@Yvann](https://community.glideapps.com/u/Yvann)\
**Post date:** [December 22, 2024, 9:19am UTC](https://community.glideapps.com/t/how-to-set-a-default-image/78727/1 "2024-12-22T09:19:41Z")

</div>

Hello team

I would like to have a default image that is always the same for the “Image” fields. Can I set this up simply?

The way I see it is to create a workflow that is triggered when a new line is added and if the url of a photo does not exist, I replace it with a default photo.

Is this the right method?

And to have a default photo base, I simply add a “photo” table and store the photos inside?

Thanks for your help,  
Yvan.

---

<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:** [December 22, 2024, 9:42am UTC](https://community.glideapps.com/t/how-to-set-a-default-image/78727/2 "2024-12-22T09:42:25Z")

</div>

- Create a Template column in the table where you want the default image, and add the URL of the image you want to use.
- Add an if-then-else column:  
– If Image is empty, then Default Image  
– Else Image

Alternatively, if you already have the default image in some other table, use a Single Value column to bring it into the table, and then use that in the if-then-else column.

---

<div class="post-metadata">

**Author:** ![Yvann](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yvann/32/67879_2.png) [@Yvann](https://community.glideapps.com/u/Yvann)\
**Post date:** [December 22, 2024, 1:06pm UTC](https://community.glideapps.com/t/how-to-set-a-default-image/78727/3 "2024-12-22T13:06:40Z")

</div>

Fantastic !

Now, I understand what “Single Value” mean !  
Thanks a lot Darren !

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [December 29, 2024, 1:07pm UTC](https://community.glideapps.com/t/how-to-set-a-default-image/78727/4 "2024-12-29T13:07:16Z")

</div>

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