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.
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
We discovered that we don’t think this was possible. You can close this request.