# How to have images fit with text

**URL:** <https://community.glideapps.com/t/how-to-have-images-fit-with-text/50751>\
**Category:** Ask for Help\
**Created:** [October 3, 2022, 5:51am UTC](https://community.glideapps.com/t/how-to-have-images-fit-with-text/50751 "2022-10-03T05:51:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [October 3, 2022, 5:51am UTC](https://community.glideapps.com/t/how-to-have-images-fit-with-text/50751/1 "2022-10-03T05:51:58Z")

</div>

I use an API in my app that collects data from a ranking of basketball teams. My sheet only collects the team name, but not the image. I have manually put in a collum with the team’s images. However, when the ranking changes, the images don’t match the correct text.  
How can I make sure, that when the team name column changes, the team images change as well? So the list doesn’t put the wrong images next to another team.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [October 3, 2022, 6:03am UTC](https://community.glideapps.com/t/how-to-have-images-fit-with-text/50751/2 "2022-10-03T06:03:22Z")

</div>

assign the team name to the team image, and find that image through relation and lookup column

---

<div class="post-metadata">

**Author:** ![Alexander\_Rubino](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexander_rubino/32/48638_2.png) [@Alexander\_Rubino](https://community.glideapps.com/u/Alexander_Rubino)\
**Post date:** [October 3, 2022, 12:10pm UTC](https://community.glideapps.com/t/how-to-have-images-fit-with-text/50751/3 "2022-10-03T12:10:23Z")

</div>

Can you be a bit more specific, I’m not sure I’m following you.

---

<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:** [October 3, 2022, 12:15pm UTC](https://community.glideapps.com/t/how-to-have-images-fit-with-text/50751/4 "2022-10-03T12:15:25Z")

</div>

It’s a similar setup to the one I gave you for your player videos.

Essentially, you should have a Teams table, that includes columns for team name and team image.  
Then you can create a single relation from the Team Ranking table that matches the Team Name to the name in your Teams table. And then use a lookup column that fetches each teams image via that relation column.
