Jump to content

Opening lightbox gallery from link

Recommended Posts

I want to open a lightbox with images from a link (or actually a button). I don't want the gallery to be visible on the page. The lightbox need to display previous/next controls, to scroll through the images. 

Something similar to what is described here: https://docs.wpbeaverbuilder.com/beaver-builder/layouts/modules/gallery/open-a-gallery-lightbox-on-button-click/ 

Any ideas for how to do this? 

How I add the images is not that important; if they can be uploaded in a gallery that's great, and if I need to refer to each of them, that's ok as well. 

Link to comment
  • 2 years later...
Posted (edited)
On 2/18/2022 at 10:21 PM, CaroStrom said:

I want to open a lightbox with images from a link (or actually a button). I don't want the gallery to be visible on the page. The lightbox need to display previous/next controls, to scroll through the images. 

Something similar to what is described here: https://docs.wpbeaverbuilder.com/beaver-builder/layouts/modules/gallery/open-a-gallery-lightbox-on-button-click/ 

Any ideas for how to do this? 

How I add the images is not that important; if they can be uploaded in a gallery that's great, and if I need to refer to each of them, that's ok as well. 

This sounds like our function Lightboxify URLs, where you can turn clickthrough URLs to open a seperate gallery in lightbox effectss. Please check it out and let me know if it works

Edited by Beyondspace

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
Posted (edited)
On 2/18/2022 at 10:21 PM, CaroStrom said:

I want to open a lightbox with images from a link (or actually a button). I don't want the gallery to be visible on the page. The lightbox need to display previous/next controls, to scroll through the images. 

Something similar to what is described here: https://docs.wpbeaverbuilder.com/beaver-builder/layouts/modules/gallery/open-a-gallery-lightbox-on-button-click/ 

Any ideas for how to do this? 

How I add the images is not that important; if they can be uploaded in a gallery that's great, and if I need to refer to each of them, that's ok as well. 

I made the detailed post on how to open a gallery lightbox on button click

 

Edited by Beyondspace

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.