Jump to content

hidden Image gallery in lightbox?

Recommended Posts

So in a normal situation, I would have a gallery of images, when I click on each image, a lightbox with an enlarged image will pop up, let's call it "lightbox within gallery"

But I am looking for something different, more of a "gallery within a lightbox".

Let say I have a row of 3 images (Red, Blue, Yellow), when I click into "Red", a lightbox pops up, the light box contain a series of images only related to "Red", and they don't show up anywhere except on the lightbox.

Same thing when I click into "Blue", a lightbox of gallery containing a series of images only related to "Blue", and then there are arrows/buttons where I can click to see the next/previous image in the "Blue" series.

Is this possible to do?

 

Thanks!

YY

 

Edited by yybear
Link to comment
1 hour ago, yybear said:

So in a normal situation, I would have a gallery of images, when I click on each image, a lightbox with an enlarged image will pop up, let's call it "lightbox within gallery"

But I am looking for something different, more of a "gallery within a lightbox".

Let say I have a row of 3 images (Red, Blue, Yellow), when I click into "Red", a lightbox pops up, the light box contain a series of images only related to "Red", and they don't show up anywhere except on the lightbox.

Same thing when I click into "Blue", a lightbox of gallery containing a series of images only related to "Blue", and then there are arrows/buttons where I can click to see the next/previous image in the "Blue" series.

Is this possible to do?

 

Thanks!

YY

 

It is possible with custom code javascript, it is not a built in feature of Squarespace

You can check some 3rd party plugin that inlude this such as

lightGallery (sachinchoolur.github.io)

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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.