Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @tsemmes – It may be better to set under Gallery > Other Options > Lightbox Effects to use “No lightbox” as this will stop the Lightbox effect from triggering. This will also affect all other NextGEN Gallery displays as well.

    – Cais.

    Thread Starter TSemmes

    (@tsemmes)

    I did try that and it didn’t get rid of the link.The photo in the image browser still links to the full-size version of the image, It open up floating inside of a black screen instead of the white light box. I want to get rid of the link altogether.

    Plugin Contributor photocrati

    (@photocrati)

    @tsemmes – There is no option to completely get rid of the active link to an image file ImageBrowser uses, you would have to create a custom template for the ImageBrowser to use that does not wrap the <img> in an <a> tag.

    See this article for more details about custom templates: https://www.nextgen-gallery.com/templates/

    Thanks!

    – Cais.

    Thread Starter TSemmes

    (@tsemmes)

    The line in the template reads

    <div class="pic"><?php echo $image->href_link ?></div>

    would I just remove ->href_link
    I don’t see an a tag to remove so this is all I can think of.

    Plugin Contributor photocrati

    (@photocrati)

    @tsemmes – Without seeing the template code for context, I would expect the reference you are sharing to be the complete link (which would include the image itself).

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Delete links to lightbox’ is closed to new replies.