Jump to content

Using both lightboxes and clickthrough URLs within the same grid gallery

Go to solution Solved by Beyondspace,

Recommended Posts

I'm using a grid gallery to display thumbnail images of my work.

I would like some of these images to link to separate project pages.

I would like other images to just open in a lightbox, because they aren't part of a larger project.

I notice when you select "Lightbox" it overrides any Clickthrough URLs.

Is there a work around that allows you to alternate between lightboxes and clickthrough URLs within the same grid gallery?

I'm currently using the Avenue template.

Link to comment
  • Solution
On 7/16/2024 at 1:42 AM, RickHyde said:

I'm using a grid gallery to display thumbnail images of my work.

I would like some of these images to link to separate project pages.

I would like other images to just open in a lightbox, because they aren't part of a larger project.

I notice when you select "Lightbox" it overrides any Clickthrough URLs.

Is there a work around that allows you to alternate between lightboxes and clickthrough URLs within the same grid gallery?

I'm currently using the Avenue template.

You are using Gallery blocks, so enabling the lightbox will complete remove the clickthrough links, and force all slides into lightbox. So I suggest you insert the link into the Image slide captions (description) then we can use javascript to make the image linkable instead of opening in lightbox

image.thumb.png.c9045e40b5df1f56b21e2561

Similar enquiry but it asks for video slides

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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.