Ignoring first image in lightbox
-
Hello,
I am on WooCommerce v3 and I am using your lightbox for WooCommerce product gallery.
Thing is, WooCommerce implementation of flexslider is awful in terms of being able to enable horizontal scrolling thumbnail carousel, so I have remade it myself.
I have main product image as usual and in thumbnails section I have main image thumbnail + other product gallery images (if theres more than 4, I can scroll to the right to see more, it doesn’t stack in rows).
Problem is, since I have main product image and I show same product image as first thumg together with all other product thumbnail images, once I click on the image to open lightbox, theres two duplicate images that show up (naturally).
Is there a way to exclude first thumbnail of main product image, yet when I would click on it directly, it would open main image in lightbox?
- The topic ‘Ignoring first image in lightbox’ is closed to new replies.