You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 27, 2026. It is now read-only.
I have a problem with the Slick Lightbox. I'm using Slick Slider on variable width and infinite scroll and when it loops through once and the first image is shown again the Lightbox shows the first image for everything to the right of it. But the images to the left show the correct image in Lightbox. Below is my script.js code
I have a problem with the Slick Lightbox. I'm using Slick Slider on variable width and infinite scroll and when it loops through once and the first image is shown again the Lightbox shows the first image for everything to the right of it. But the images to the left show the correct image in Lightbox. Below is my script.js code
$(document).ready(function(){
$('.slider-area').slick({
dots: false,
accessibility: true,
arrows: true,
infinite: true,
speed: 1500,
centerMode: false,
slidesToShow: 10,
slidesToScroll: 7,
variableWidth: true,
touchMove: true,
useCSS: true,
cssEase: 'ease'
});
});
$(document).on('ready', function() {
$('.slider-area').slickLightbox({
src: 'src',
itemSelector: '.pic img',
});
});