# Array: How to pull images from selected row only

**URL:** <https://community.glideapps.com/t/array-how-to-pull-images-from-selected-row-only/61232>\
**Category:** Ask for Help\
**Created:** [May 1, 2023, 6:47pm UTC](https://community.glideapps.com/t/array-how-to-pull-images-from-selected-row-only/61232 "2023-05-01T18:47:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathan_m/32/43901_2.png) [@Nathan\_M](https://community.glideapps.com/u/Nathan_M)\
**Post date:** [May 1, 2023, 6:47pm UTC](https://community.glideapps.com/t/array-how-to-pull-images-from-selected-row-only/61232/1 "2023-05-01T18:47:02Z")

</div>

Hi guys,

I have the following hierarchy:

User → Pet Profile(s) → Vaccination history (for specific pet profile)

As can be seen in the image, I’m pulling the pet profile row ID to ensure only that pets info is displayed when creating a new log.

What I would love to do is have an array (I think?) that pulls all the images from that pet’s vaccinations into a single array so that it can be viewed as a carousel.

Any thoughts? Thanks in advance 🙂

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/5/a51bfa82192e9916f1f59a0259d8b23f7d064924.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:** [May 1, 2023, 7:52pm UTC](https://community.glideapps.com/t/array-how-to-pull-images-from-selected-row-only/61232/2 "2023-05-01T19:52:32Z")

</div>

A Relation column and a Lookup column should be all you need to get an array of related images.

---

<div class="post-metadata">

**Author:** ![Nathan\_M](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathan_m/32/43901_2.png) [@Nathan\_M](https://community.glideapps.com/u/Nathan_M)\
**Post date:** [May 2, 2023, 4:59am UTC](https://community.glideapps.com/t/array-how-to-pull-images-from-selected-row-only/61232/3 "2023-05-02T04:59:18Z")

</div>

Thanks Jeff!

---

<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:** [May 3, 2023, 4:59am UTC](https://community.glideapps.com/t/array-how-to-pull-images-from-selected-row-only/61232/4 "2023-05-03T04:59:54Z")

</div>

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