# Confused on how to display lookup fields from Airtable

**URL:** <https://community.weweb.io/t/confused-on-how-to-display-lookup-fields-from-airtable/2681>\
**Category:** How do I?\
**Created:** [May 13, 2023, 12:47pm UTC](https://community.weweb.io/t/confused-on-how-to-display-lookup-fields-from-airtable/2681 "2023-05-13T12:47:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Osman](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/osman/32/3225_2.png) [@Osman](https://community.weweb.io/u/Osman)\
**Post date:** [May 13, 2023, 12:47pm UTC](https://community.weweb.io/t/confused-on-how-to-display-lookup-fields-from-airtable/2681/1 "2023-05-13T12:47:37Z")

</div>

I’ve had a look on [🧐 lookup & lookupArray](https://old-docs.weweb.io/lookup-lookuparray/) but I’m still not able to get it to work.

Basically Airtable doesn’t support hosting of attachments so I have to use AWS S3 to generate a URL link and I’ve made sure it is public and is working as if I display the data from a standard URL field the image loads as expected. I should add this is the first time I’ve tried to display any data from a lookup field.

I have an images table which stores the image per record and this is linked to the products table. Is using the lookup array the right approach for this because I can’t seem to get it to work?

---

<div class="post-metadata">

**Author:** ![Osman](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/osman/32/3225_2.png) [@Osman](https://community.weweb.io/u/Osman)\
**Post date:** [May 14, 2023, 4:34pm UTC](https://community.weweb.io/t/confused-on-how-to-display-lookup-fields-from-airtable/2681/2 "2023-05-14T16:34:34Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/736b6d442dd1005a23d3ad49f3f9ebee114b80d2.png)

This is my formula but I can’t understand what is wrong and am still struggling on the problem. I’d appreciate any help!

---

<div class="post-metadata">

**Author:** ![Quentin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/quentin/32/6_2.png) [@Quentin](https://community.weweb.io/u/Quentin)\
**Post date:** [May 15, 2023, 9:26am UTC](https://community.weweb.io/t/confused-on-how-to-display-lookup-fields-from-airtable/2681/3 "2023-05-15T09:26:57Z")

</div>

Do you do the lookup on the `id` field? `lookup` uses the `id` field by default, which you can change by using a 3rd argument.

---

<div class="post-metadata">

**Author:** ![Osman](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/osman/32/3225_2.png) [@Osman](https://community.weweb.io/u/Osman)\
**Post date:** [May 15, 2023, 12:00pm UTC](https://community.weweb.io/t/confused-on-how-to-display-lookup-fields-from-airtable/2681/4 "2023-05-15T12:00:16Z")

</div>

Thank you for the help once again, @Quentin  
I was confused about the 3rd argument as you mentioned - because I don’t know how I would know what field I’m doing for the lookup.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c0cae429c203a54020cc04a22692b14386bbda1f.png)

This is how my airtable is set up

---

<div class="post-metadata">

**Author:** ![Osman](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/osman/32/3225_2.png) [@Osman](https://community.weweb.io/u/Osman)\
**Post date:** [May 16, 2023, 6:17pm UTC](https://community.weweb.io/t/confused-on-how-to-display-lookup-fields-from-airtable/2681/5 "2023-05-16T18:17:57Z")

</div>

Actually, I’ve figured out where I’ve been going wrong I believe, but if it doesn’t work then I’d post an update here. Thanks for the help, anyways!
