Lightbox View not working
-
Hi,
My gallery has 5 images, using shortcode, I’ve managed to display just 1 thumbnail. But when I click on the thumbnail, I’m brought to (I assume) the image attachment page instead of a lightbox view with next and previous arrows (on the same page without redirecting).
I have this line of code
<?php wp_redirect(get_permalink($post->post_parent)); ?>
at the start of my Image Attachment Page (image.php) to prevent redirecting to image attachment page though (not sure if it’s relevant).Also, I’m unable to change to any Lightbox Effects. I’ve deactivated all plugins too.
I’m using Twenty Eleven and below is the link to my site with the gallery I’ve created using NextGEN Gallery:
https://forelderly.sg/sample-page/All help is greatly appreciated. Thanks!
- The topic ‘Lightbox View not working’ is closed to new replies.