# Can I Use A Button To Open Gallery With Lightbox Studio Plugin
**Source:** https://beyondspace.studio/qanda/can-i-use-a-button-to-open-gallery-with-lightbox-studio-plugin
**Language:** French (France)

---

# Can i use a button to open gallery with Lightbox Studio plugin?

Feb 5

Written By Beyondspace

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

1. **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`).
2. **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.
3. **Set Up the Button**

   - Create a Button block on your page.
   - Link the button to the Lightboxify URL you created.
4. **Save and Preview**

   - Click **Enregistrer**  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.

Beyondspace 

As a Squarespace Circle member, Beyondspace delivers plugins that elevate your website, streamline workflows, and optimize the Editor experience—saving time and driving engagement.

https://beyondspace.studio

Précédent

Précédent

## How can I get the image URL in Squarespace?

Suivant

Suivant

## How to launch a lightbox Gallery from a button without thumbnails?