Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1330268

    Hi,
    I have the problem that a link to an image always opens in the lightbox. However, I would like to simply open the image in a new tab/window. How can I change this?
    Thanks
    Stefan

    #1330270

    is it the ALB Element : Image – or is it an image placed via Media Library to a text-block ?

    #1330280

    Hi,

    Thank you for the inquiry.

    You can apply the “noLightbox” class name to the link tag or to the Image element to disable the lightbox link.

    Example:

    <a class="noLightbox" href="/wp-content/uploads/2021/11/link-to-image.jpg" target="_blank" rel="noopener">Download Pressefoto Thomas Breit</a>
    

    Make sure to adjust the value of the href attribute.

    Best regards,
    Ismael

    #1330287

    the reason why i ask is – if it is an image placed to a text-block via media library – you can set these options on hovering the image after placement – click that pencil (edit) and fill in what you need: especially the noLightbox class:

    #1330317

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.