# CMS Library Slider Component with Lightbox Issue - Duplicating Multi-Image Content

**URL:** <https://forum.finsweet.com/t/cms-library-slider-component-with-lightbox-issue-duplicating-multi-image-content/4903>\
**Category:** Attributes\
**Tags:** cmsslider\
**Created:** [May 24, 2025, 6:35pm UTC](https://forum.finsweet.com/t/cms-library-slider-component-with-lightbox-issue-duplicating-multi-image-content/4903 "2025-05-24T18:35:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![giancarlo.gomez](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/giancarlo.gomez/32/4306_2.png) [@giancarlo.gomez](https://forum.finsweet.com/u/giancarlo.gomez)\
**Post date:** [May 24, 2025, 6:35pm UTC](https://forum.finsweet.com/t/cms-library-slider-component-with-lightbox-issue-duplicating-multi-image-content/4903/1 "2025-05-24T18:35:40Z")

</div>

I have an issue with the cms-library slider component integrated with a lightbox. I followed the instructions from the video provided in the docs and the slider works perfectly, but there appears to be an issue when integrating with a lightbox as it duplicates the number of images.

**Multi Image URL:**

> **[119 Washington AV Property detail](https://www.longsteadrealestate.com/listings/119-washington-av)**

**Single Image URL:**

> **[Faena, 7D Property detail](https://www.longsteadrealestate.com/listings/faena-7d)**

In both you can see the roll is entirely duplicated, which can also be seen in the source output. The first has 8 and 16 images are in the lightbox roll and the second has 1 and 2 images in the lightbox roll.

Here is an example of the single image, outputting the lightbox data twice which is the culprit for the duplicated roll. WebFlow tends to think this is not an issue on their end.

 ![webflow-lightbox-issue](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/0/00370d6c9af1f2b5f1c80a2156ec4040d6b14ba2.jpeg)

---

<div class="post-metadata">

**Author:** ![giancarlo.gomez](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/giancarlo.gomez/32/4306_2.png) [@giancarlo.gomez](https://forum.finsweet.com/u/giancarlo.gomez)\
**Post date:** [May 24, 2025, 7:44pm UTC](https://forum.finsweet.com/t/cms-library-slider-component-with-lightbox-issue-duplicating-multi-image-content/4903/2 "2025-05-24T19:44:52Z")

</div>

So it does appear to be an issue when instantiating the slider as it creates those duplicates in the dom. Initially the lightbox was added to the main item and then copied to the dynamic feed as in the example. When I removed the lightbox entry from the main slider I was able to get the source to only output 1 entry, which is great, but then instantiating the slider creates the duplicates.

---

<div class="post-metadata">

**Author:** ![giancarlo.gomez](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/giancarlo.gomez/32/4306_2.png) [@giancarlo.gomez](https://forum.finsweet.com/u/giancarlo.gomez)\
**Post date:** [May 24, 2025, 7:50pm UTC](https://forum.finsweet.com/t/cms-library-slider-component-with-lightbox-issue-duplicating-multi-image-content/4903/3 "2025-05-24T19:50:05Z")

</div>

Here is an example of what I explained above.

 ![webflow-lightbox-issue-on-slider-init](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/b/b420f5a3b0bd0d1bb51aa162e5e737147000538f.jpeg)

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [May 27, 2025, 10:45am UTC](https://forum.finsweet.com/t/cms-library-slider-component-with-lightbox-issue-duplicating-multi-image-content/4903/4 "2025-05-27T10:45:54Z")

</div>

Hey @giancarlo.gomez! Have you tried the updates Attributes version of this solution? We are already in V2! CMS Library has been deprecated for some years now 😅

You can find the new documentation here!

> **[List Slider - Create Native Sliders with CMS Collection List in Webflow](https://finsweet.com/attributes/list-slider)**
>
> Create a CMS powered native Webflow Slider component with a Webflow CMS Collection List.

Give it a try and let me know how it goes!
