Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #398438

    Thanks as always for the amazing support. I’ve found so many snippets and helpful tips on the support site that have helped me on my site.

    I have a peculiar request: i’d like to link to a gallery in a lightbox from a button or other image.

    The goal is to show one representative image, not part of the gallery, that when clicked would open up the gallery in the lightbox without the whole gallery needing to be visible on the page. I’m including links in the private content.

    Thanks again.

    #398520

    Hi scottmlogan!

    Not sure if it’s possible to do it on the Masonry element but if you use 1/3 columns and add a link and image then you can do it by setting the link to the image and add a class of “avia-gallery” to the link. You could then add extra links somewhere in your page content like so.

    <a href = "URL to the image" class = "avia-gallery" style = "display:none;">Click me</a>
    

    And they should open up with the other images as a gallery.

    Cheers!
    Elliott

    #411241

    We discovered that we don’t think this was possible. You can close this request.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Link to Gallery in lightbox from button’ is closed to new replies.