# How to reference an image

**URL:** <https://community.glideapps.com/t/how-to-reference-an-image/4886>\
**Category:** Ask for Help\
**Created:** [February 24, 2020, 3:13pm UTC](https://community.glideapps.com/t/how-to-reference-an-image/4886 "2020-02-24T15:13:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Temple\_ISD\_Digital\_L](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/temple_isd_digital_l/32/3777_2.png) [@Temple\_ISD\_Digital\_L](https://community.glideapps.com/u/Temple_ISD_Digital_L)\
**Post date:** [February 24, 2020, 3:13pm UTC](https://community.glideapps.com/t/how-to-reference-an-image/4886/1 "2020-02-24T15:13:11Z")

</div>

[https://ey5pl.glideapp.io](https://ey5pl.glideapp.io) (link to app)

Working on an idea for the Scoreboard tab on the app. I would like it to do the following:

1. scoreboard tab
2. tap on school name
3. see list of teachers that have earned a badge ad how many
4. tap a teacher name
5. view an image of the badge earned. same images for badges used on the main tab (badges!)

I have everything except for step 5. I am not sure how to reference back to the image of the badge.  
spreadsheet link: [https://docs.google.com/spreadsheets/d/1HPcg2vn3-hhZ0fYUn1U7xGE-gXYe5QlNVb1Biwv8VRw/edit#gid=1813723890](https://docs.google.com/spreadsheets/d/1HPcg2vn3-hhZ0fYUn1U7xGE-gXYe5QlNVb1Biwv8VRw/edit#gid=1813723890)

any ideas on how to make this work?

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 24, 2020, 3:26pm UTC](https://community.glideapps.com/t/how-to-reference-an-image/4886/2 "2020-02-24T15:26:03Z")

</div>

Very cool. I’ve been looking to do something similar. I believe you’d have to use the name of the Badge (“Google Slides”) instead of an “x” in the spreadsheet. Then, in your app, create a relation between this value and the “Badges” column of the spreadsheet. Then, create a lookup column that will pull the URL of the badge. Replace the Basic Text component with either a relation or image or title component based on your preferences. Use the lookup URL as the source of the component.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 24, 2020, 3:33pm UTC](https://community.glideapps.com/t/how-to-reference-an-image/4886/3 "2020-02-24T15:33:14Z")

</div>

Like this?! 😉  
 ![Screen Shot 2020-02-24 at 10.33.03 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/a/a8ff3cb46cf062ddbfb4e8e97fde10994e920fe9.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 24, 2020, 3:34pm UTC](https://community.glideapps.com/t/how-to-reference-an-image/4886/4 "2020-02-24T15:34:14Z")

</div>

Excited to use this in my own app! Your spreadsheet is set up nicely and I used a trick from @Jeff_Hager to make this happen ([Filtering issue: when i select ‘vegan’ also show me ‘vegan, high protein’](https://community.glideapps.com/t/filtering-issue-when-i-select-vegan-also-show-me-vegan-high-protein/4783) )

As promised:

---

<div class="post-metadata">

**Author:** ![Temple\_ISD\_Digital\_L](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/temple_isd_digital_l/32/3777_2.png) [@Temple\_ISD\_Digital\_L](https://community.glideapps.com/u/Temple_ISD_Digital_L)\
**Post date:** [February 24, 2020, 6:34pm UTC](https://community.glideapps.com/t/how-to-reference-an-image/4886/5 "2020-02-24T18:34:57Z")

</div>

Awesome. Here is a link to the app using what was taught in the video:  
[https://ey5pl.glideapp.io](https://ey5pl.glideapp.io)
