heimrichhannot / contao-slick-bundle

A content slider/carousel for contao based on kenwheelers slick carousel.
3 stars 3 forks source link

Conflict with jQuery Colorbox numbering images (image x of xx) #73

Open witzker opened 1 year ago

witzker commented 1 year ago

Hi, I'm Just a USER of your slider which worx great BUT A strange problem occurs I think in combination with the jQuery Colorbox. The number of images (1 of 151) displayed in the Colorbox at the top is getting mixed up. In fact, there are less than half as many pictures

image

Hope I could explain what I mean If U need more details, pls. let me know Many THX for taking care

koertho commented 1 year ago

Hi, thanks for reporting. For issues you always should provide contao-, bundle- and php-version. In this case I'm sorry to say that I think we can't help. We just build the contao integration of slick, not the js library itself. I don't know if there is a workaround and I currently very busy so I can't take a deeper look. The slick library seems not to be developed any further, so I don't think there will be any fixes anymore. You can search for possible fixes/workaround and if you find something working, please let us know. You can also test if it works better with our Tiny Slider Bundle.

koertho commented 1 year ago

Do you open colorbox from slick? Maybe the reason is how slick works: it clones the image node multiple times, so this could be the reason colorbox showing that many pictures. You could try to disable infinite slide, maybe that helps.

witzker commented 1 year ago

THX for taking care. We installed the Tiny Slider Bundle. @ You could try to disable infinite slide, maybe that helps. Yes, The number of slides is correct then - BUT I need infinite slide

So same issue with number of slides!

Where to turn to get this fixed?