Two clicks to change gallery image
-
Hi I am using the plugin with ACF. The lightbox is set to Fancybox (the problem is common to other display options) and displays a gallery image when the thumbnail is clicked. However to advance through the gallery you have to click to the right (or left) twice on the lightbox image – is this a bug?
This is my code:<?php if(get_field('profile_gallery')){ $images = get_field('profile_gallery'); foreach( $images as $image ) { ?> <a href="<?php echo $image['url']; ?>" rel="lightbox[profile_gallery]"> <img src = "<?php echo $image['url']; ?>" width="100%"/><?php } } ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Two clicks to change gallery image’ is closed to new replies.