Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22720

    Hi There,

    We have some images that are available for download.

    So we have a text that links to the image in a new page (target=”_blank)

    When we do so the image is atomatically opened in lightbox, we notices in the code it automatically gets: rel=”lightbox[auto_group1]“

    How can we disable that so the text link will just open the image in a blank page….

    This only happens with .jpeg files, with .pdf we get the behaviour we want.

    Any ideas?

    #116974

    Hey!

    Please add a noLightbox class to the links like:

    <a href="myimage.jpg" class="noLightbox">My link text</a>

    Regards,

    Peter

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘disable lightbox on text links to image’ is closed to new replies.