• 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!

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @karen11 – You appear to be using a Child-Theme of Twenty Eleven and an older version of WordPress. I would suggest updating WordPress (as well as any active plugins not currently up-to-date) and see if the issue appears when you use the current default version of Twenty Eleven.

    If so, then check for plugin conflicts with your other active plugins.

    Thanks!

    – Cais.

Viewing 1 replies (of 1 total)
  • The topic ‘Lightbox View not working’ is closed to new replies.