# Can i use objects instead of images in image slider?

**URL:** <https://community.weweb.io/t/can-i-use-objects-instead-of-images-in-image-slider/20468>\
**Category:** How do I?\
**Created:** [December 3, 2025, 3:19pm UTC](https://community.weweb.io/t/can-i-use-objects-instead-of-images-in-image-slider/20468 "2025-12-03T15:19:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![felix](https://avatars.discourse-cdn.com/v4/letter/f/aeb1de/32.png) [@felix](https://community.weweb.io/u/felix)\
**Post date:** [December 3, 2025, 3:19pm UTC](https://community.weweb.io/t/can-i-use-objects-instead-of-images-in-image-slider/20468/1 "2025-12-03T15:19:26Z")

</div>

### 

I’d like to use the image slider to show images contained in an object, that is itself part of a collection.  
Imagine having a collection of 100 objects, each containing 5 image-containing objects (among other elements).

So my image slider would be part of the collection items, effectively rendering 100 image sliders.  
Can I bind the slider to the list of image-containing objects, create a div hierarchy to map other elements of the object, and bind the image in this object to the image element of the hierarchy?  
(effectively making it an object slider)

To make it more tangible, imagine a real estate agency presenting a collection of homes, each home having many characteristics, among which a list of pictures with overlay elements.

---

<div class="post-metadata">

**Author:** ![antoine\_caron](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@antoine\_caron](https://community.weweb.io/u/antoine_caron)\
**Post date:** [December 3, 2025, 3:54pm UTC](https://community.weweb.io/t/can-i-use-objects-instead-of-images-in-image-slider/20468/2 "2025-12-03T15:54:53Z")

</div>

That seems doable to me but so that would mean :  
You have an object slider  
inside the slider (so for each object), you have an image slider that take the 5 images of the object  
So i don’t think you can do that just using the image slider the way it is, but you can probably build what you want easily.  
I don’t use those elements so much, so i can’t help but it seems doable to me !

Don’t hesitate to show it once you’re done and explain how you’ve build it !  
Good luck ! 😉

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [December 3, 2025, 7:38pm UTC](https://community.weweb.io/t/can-i-use-objects-instead-of-images-in-image-slider/20468/3 "2025-12-03T19:38:13Z")

</div>

100% doable! I’d suggest using the `Content slider` element for this to save some time:

 ![CleanShot 2025-12-03 at 20.35.38@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/a52b17aedbbe4016ab6a888d2e22f4d2c64a4225.png)

You should be able to add an image in the slider divs:

 ![CleanShot 2025-12-03 at 20.36.47@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/cad9fafebd6750536b23dab86dcafdd13f85ed2d.png)

---

<div class="post-metadata">

**Author:** ![felix](https://avatars.discourse-cdn.com/v4/letter/f/aeb1de/32.png) [@felix](https://community.weweb.io/u/felix)\
**Post date:** [December 3, 2025, 8:00pm UTC](https://community.weweb.io/t/can-i-use-objects-instead-of-images-in-image-slider/20468/4 "2025-12-03T20:00:34Z")

</div>

Sounds good, I’ll try and let you know!

---

<div class="post-metadata">

**Author:** ![felix](https://avatars.discourse-cdn.com/v4/letter/f/aeb1de/32.png) [@felix](https://community.weweb.io/u/felix)\
**Post date:** [December 10, 2025, 2:04pm UTC](https://community.weweb.io/t/can-i-use-objects-instead-of-images-in-image-slider/20468/5 "2025-12-10T14:04:49Z")

</div>

Hey Joyce,  
I am happy to report the content slider is working fine.

Thanks!

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [December 10, 2025, 5:50pm UTC](https://community.weweb.io/t/can-i-use-objects-instead-of-images-in-image-slider/20468/6 "2025-12-10T17:50:44Z")

</div>

Beautiful! Thanks for taking the time to let us know 😀
