Image gallery opens picture instead of lightbox
-
If a thumbnail is clicked before all pictures are loaded, the linked picture is opened instead of an lightbox on the same page.
Small galleries the plugin works very well, but bigger image galleries (50+ pictures) display this issue.
If I open the page with the gallery, you see the pictures being loaded. While pictures are being loaded, the javascript for the lightbox doesn’t fire. There is a link on the thumbnail to the image, that opens in the same window instead. So if you’re quicker than the gallery load, you will not see the beautiful lightbox, but just the image.
I understand the image links are there for no script support. But can you look for an alternative way to prevent this from happening?
- The topic ‘Image gallery opens picture instead of lightbox’ is closed to new replies.