Wrong order of the images when used in Bricks’ slider
-
I’m facing a very strange issue. When your lightbox is used for the image slider, the order of the images in the lightbox seems to be changed depending on the position of the slider. As it seems the images in the lightbox are divided to several blocks which are then somehow shuffled.
It’s really hard to explain, so I’ve created a video for you: https://watch.screencastify.com/v/5ewLYvLbq0zq86F9txl6
The test page is here: https://zahradnictvifous.cz/work/gallery-slider-test/
Please also note, that the first image in the slider has number 10/12 instead of 1/12.
The site uses Bricks, which is a theme with a page builder included. The Slider comes from the builder and uses SplideJS library. The Bricks has also natively included Photoswipe library for the lightbox, but their settings are very limited so I prefer to use your plugin.
Interesting thing is, that when the Bricks’ native lighbox solution is used, everything works fine – see https://zahradnictvifous.cz/work/gallery-slider-test-native-lightbox/
I have contacted the developer, but he responded that the problem must be caused by your plugin, because the slider outputs the images in the correct order. He’s probably right, as the native lightbox works just fine. I have to say I’m quite buffled.
Debugging notes:
- I have tried to turn on and off every possible setting of your plugin, but issue stayed the same
- The Photoswipe is on version 4, but it makes no difference when changed to 5
- At this moment there are 2 versions of the lightbox on the site, yours and Bricks’ native. Normally I turn the Bricks’ version off, but now it’s on to show you it works fine. No difference made if your lightbox is the only one.
Have you got any idea, why is this happening? If necessary I can provide you with the credentials to the test site.
Thanks
- The topic ‘Wrong order of the images when used in Bricks’ slider’ is closed to new replies.