Can i use a button to open gallery with Lightbox Studio plugin?
Yes, you can use a button to open a gallery with the Lightbox Studio plugin in Squarespace. Here’s how to set it up:
Step-by-Step Instructions
Create a Source Gallery
- Insert a Gallery block or section and upload your images and videos to the gallery on a blank page.
- Name the page and note its URL (e.g.,
/source-gallery
).
Create the Lightboxify URL
- Your Lightboxify URL should look like this:
/source-gallery?lightboxify=true&lightboxify-mode=gallery#gallery-id
- Make sure to replace
gallery-id
with the actual ID of your gallery.
- Your Lightboxify URL should look like this:
Set Up the Button
- Create a Button block on your page.
- Link the button to the Lightboxify URL you created.
Save and Preview
- Click Save to apply your changes.
- Open your live site and click the button. It should open the gallery lightbox instead of redirecting you.
For more detailed instructions, you can visit the How to open a gallery lightbox on button click page.