Jump to content

Opening lightbox gallery from link

Recommended Posts

Posted

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. 

  • 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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

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

Update: with new feature Lightboxify URLs, clicking on the image slides will open seperate lightbox galleries

 

Edited by Beyondspace

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

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.