# Image help (sorry in advance)

**URL:** <https://community.glideapps.com/t/image-help-sorry-in-advance/65263>\
**Category:** Ask for Help\
**Created:** [August 22, 2023, 12:49am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263 "2023-08-22T00:49:12Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 12:49am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/1 "2023-08-22T00:49:12Z")

</div>

I’ve been combing through the internet for help on this for the past couple hours. I’m sure it’s been discussed but I can’t find it. With that said…

I am having trouble porting images with a choice component.

Let’s say you want someone to pick their favorite NFL team.

You have the AZ Cardinals (first alphabetically) in one column and a URL link to their logo in the second column - this is the source data.

You create a form that shows the team names with the logos for the user to click. Rather than having the user type in names and the like, you set them up as chips using a choice component. You would have 32 cards with a small circle holding the logo on the left followed by the team name.

The problem I’m having is that the choice component only writes to one column, like the team name, leaving the logo behind. It looks like you can’t write to the second column, which makes sense but I’m having trouble solving the problem.

I understand the concepts behind the lookup and relation functions. Neither of them delivers the correct result - I get a column with both the name and logo or all the logos, which cannot be displayed as the image for the choice the user makes.

So, I’m sure this is user error. On the other hand, I’ve rebuilt the page 4-5 times to try to fix it and can’t get there. Any help would be appreciated.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [August 22, 2023, 1:02am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/2 "2023-08-22T01:02:19Z")

</div>

The value you write should be a unique value for the team – for example, a Row ID. Then add a relation column to turn that unique value into a relation back to the full team row, and finally you can use lookups to pick any other values you want from the relation.

I made you a template demo: [Choose one](https://go.glideapps.com/template/dxMnAfWyeDsdgtJ8ybG1-template-published?privateTemplateToken=tjvdCr62bU7yxfQNelZ1)

---

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 2:45am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/3 "2023-08-22T02:45:19Z")

</div>

Thanks for the suggestion and I have done this multiple times. As an example, I have the row IDs for two teams:

Teams Page:  
**ID Column “Name” Column “Logo” Column**  
Row ID 1 AZ Cardinals URL for logo  
Row ID 2 Denver Broncos URL for logo

I use the form I created and I choose the AZ Cardinals. The ID is used to fill the ID column on the “user Submission” page but the names and logos are displayed as normal on the app.

User Submission Page:  
**ID Column Relation Column (ID from teams) Lookup Column (name from teams)**  
Row ID 1 AZ Logo and “AZ Cardinals” “AZ Cardinals” and “Denver Broncos”

The title choice on the app is the ID, which is the only choice I have other than two audit columns I built that are “hidden.” All of this makes sense and matches with the concepts I have from excel but the result is not correct. The lookups are not pulling the wrong information on nill, so it feels like I’m not off on the execution (by much) which is probably the most frustrating part. When the answer you get isn’t even on the test at least you know you’re way off.

---

<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:** [August 22, 2023, 2:47am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/4 "2023-08-22T02:47:59Z")

</div>

Can you provide a screen shot of your tables from the Glide Data Editor please?

---

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 3:13am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/5 "2023-08-22T03:13:06Z")

</div>

Sure thing, here they are:

 ![Glide Screenshot (Teams - Source)](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/2/42032f30fe883deb8826077c173f40b23831a10e.png)

 ![Glide Screenshot (Submissions - Destination)](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/4/a414eb94c34f5916eeb648532c6c9fe87d46ed96.png)

 ![Glide Screenshot (App Result)](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/d/0d56773227a367859a774805cde7e7f61a7e4315.png)

---

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 3:16am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/6 "2023-08-22T03:16:30Z")

</div>

and the choice component for reference:

 ![Glide Screenshot (Choice Chips)](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/f/dff7f92445ca1689927da73a0109c07dc8532a04.png)

---

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 3:21am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/7 "2023-08-22T03:21:03Z")

</div>

better one

 ![Glide Screenshot (Choice Chips)](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/2/02a25692a94ce95acc10e09b30bb23a8b0a514e0.png)

---

<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:** [August 22, 2023, 3:28am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/8 "2023-08-22T03:28:29Z")

</div>

Your Lookup is not referring to your relation. I think you have it pointing to the whole table instead of the relation.

---

<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:** [August 22, 2023, 3:31am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/9 "2023-08-22T03:31:18Z")

</div>

Exactly ☝

---

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 3:33am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/10 "2023-08-22T03:33:01Z")

</div>

Fair point, thank you. But when I change that I still end up with the same result in the columns and my options on the app layout are the same.

 ![Screenshot 2023-08-21 9.31.30 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/f/8f6f17d2290437a24f6bece2ed001c92f373c388.png)

---

<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:** [August 22, 2023, 3:33am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/11 "2023-08-22T03:33:58Z")

</div>

Is your relation a single or multiple relation?

It should be a single, but looks like you have a multiple relation.

---

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 3:35am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/12 "2023-08-22T03:35:56Z")

</div>

I think it is single. I have not checked the “multiple” box.

My understanding is that the first column is the ID. The second column basically says I want to look up the ID in Team Table. The third column says when you find that value in Team Table find me the “name.” It is really easy to logically figure and I can do it in excel in 30 seconds. That is probably what is tripping me up the most - the change in language and logic ☹

---

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 3:37am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/13 "2023-08-22T03:37:19Z")

</div>

to wit

 ![Screenshot 2023-08-21 9.36.35 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/3/f3f55555cd47f08f740d6d19738c49ea34546a14.png)

---

<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:** [August 22, 2023, 3:37am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/14 "2023-08-22T03:37:28Z")

</div>

~~The fact that your lookup column is returning a single element array (I can tell that by its appearance) indicates that the relation must be a multiple relation. Please double check it.~~

oh, wait - your lookup still isn’t correctly configured. You’re referring via the table, instead of directly to the relation.

Look for something like this:

 ![CleanShot 2023-08-22 at 11.39.46@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/6/261d89224ba6757a4d77bbba238a8f7588fd4023.png)

---

<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:** [August 22, 2023, 3:38am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/15 "2023-08-22T03:38:35Z")

</div>

I think you are still referring to the entire table and not the relation. When you select a relation, you should be able to select a specific column from the related row. Seems that you are returning the relation itself.

---

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 3:43am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/16 "2023-08-22T03:43:05Z")

</div>

oh man, that’s it!! I didn’t even see that option. What a relief. Thanks so much to both of you!!!

---

<div class="post-metadata">

**Author:** ![rowbull78](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rowbull78/32/63158_2.png) [@rowbull78](https://community.glideapps.com/u/rowbull78)\
**Post date:** [August 22, 2023, 3:45am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/17 "2023-08-22T03:45:15Z")

</div>

![Screenshot 2023-08-21 9.44.26 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/3/330809c054e6d3c97acee71a91a9ab91561ac8d4.png)

Success!!!

---

<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:** [August 29, 2023, 3:45am UTC](https://community.glideapps.com/t/image-help-sorry-in-advance/65263/18 "2023-08-29T03:45:27Z")

</div>

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