# Image slider of unknown number of images

**URL:** https://community.weweb.io/t/image-slider-of-unknown-number-of-images/3585
**Category:** How do I?
**Created:** [July 19, 2023, 1:01am UTC](https://community.weweb.io/t/image-slider-of-unknown-number-of-images/3585 "2023-07-19T01:01:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kcentral](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kcentral](https://community.weweb.io/u/kcentral)
#### Post date: [July 19, 2023, 1:01am UTC](https://community.weweb.io/t/image-slider-of-unknown-number-of-images/3585/1 "2023-07-19T01:01:01Z")

</div>

I’m trying to build an image slider with the number of images bound to the number of images in an array. When I use the image slider element, however, I’m seeing that it’s just 3 images. Is there any way to have slides repeat for the number of images returned in the array instead? Some records may have 1 image, some may have 10.

---

<div class="post-metadata">

### Author: ![luka](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/luka/32/1571_2.png) [@luka](https://community.weweb.io/u/luka)
#### Post date: [July 19, 2023, 9:09am UTC](https://community.weweb.io/t/image-slider-of-unknown-number-of-images/3585/2 "2023-07-19T09:09:45Z")

</div>

Yes, when you bind your image slider to an array there will be the same number of slides as items in an array

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