# Pull images from airtable attachment column and display horizontally

**URL:** <https://community.thunkable.com/t/pull-images-from-airtable-attachment-column-and-display-horizontally/92721>\
**Category:** Questions about Thunkable X\
**Created:** [June 5, 2019, 7:51pm UTC](https://community.thunkable.com/t/pull-images-from-airtable-attachment-column-and-display-horizontally/92721 "2019-06-05T19:51:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sysads](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sysads/32/44975_2.png) [@sysads](https://community.thunkable.com/u/sysads)\
**Post date:** [June 5, 2019, 7:51pm UTC](https://community.thunkable.com/t/pull-images-from-airtable-attachment-column-and-display-horizontally/92721/1 "2019-06-05T19:51:27Z")

</div>

Hi

I have an airtable spreadsheet with 2 columns. I is attachment with images and the other is URL link.

I am trying to figure out how to load all images and display them side by side horizontally and scrollable.

I will be displaying each image as background to each buttons since i will click on each to load the corresponding url on a webview screen

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [June 5, 2019, 10:04pm UTC](https://community.thunkable.com/t/pull-images-from-airtable-attachment-column-and-display-horizontally/92721/2 "2019-06-05T22:04:39Z")

</div>

Isaac, does [this post](http://community.thunkable.com/t/how-to-retrieve-images-with-a-spreadsheet-component/28670) help?

-Mark

---

<div class="post-metadata">

**Author:** ![sysads](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sysads/32/44975_2.png) [@sysads](https://community.thunkable.com/u/sysads)\
**Post date:** [June 6, 2019, 3:44am UTC](https://community.thunkable.com/t/pull-images-from-airtable-attachment-column-and-display-horizontally/92721/3 "2019-06-06T03:44:51Z")

</div>

Hi Mark, I know how to retrieve images individually but I want to retrieve all images at once so in future additional images I add will also be retrieved and display them in a horizontal scroll

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [June 6, 2019, 5:57pm UTC](https://community.thunkable.com/t/pull-images-from-airtable-attachment-column-and-display-horizontally/92721/4 "2019-06-06T17:57:40Z")

</div>

If you use the `'GetColumn'` block, where you set the `'columnName'` to the column that contains your images, you should get back a list corresponding to all the rows in the table (as the `'columns'` block). Each item of that `'columns'` list will be another list similar to what the `'GetCell'` returns (in the `'value'` block) in the example post I gave above. So, you would want to iterate over the `'columns'` list and then for each resulting item get its first element (which will be an object) and then get that element’s ‘url’ property. Once you have the URL then you can use it to display the image that it represents.

Hopefully the above makes sense. If not, let me know and i’ll try to explain further.

-Mark

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:13pm UTC](https://community.thunkable.com/t/pull-images-from-airtable-attachment-column-and-display-horizontally/92721/5 "2024-11-08T12:13:35Z")

</div>


