Jump to content

Anchor link to specific image in a gallery

Recommended Posts

Hey!

I was wondering if it would be possible to link the gallery and text(or button) through anchor tags. For example in a blog post there's text "image 1" and when the user clicks on that text(the text has an anchor link) it will take them to that specific image in the gallery, in this case the first image. I've been tinkering around with anchors, but i can't seem to find a way to have the anchor go to a specific image in the gallery(i'm using the slideshow design).

If someone knows a solution or a plugin for this i'd greatly appreciate the info! Couldn't find anything on this myself, there are some closed forum posts with no answers from a couple years ago, but that's about it.

Link to comment
  • Replies 2
  • Views 713
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Do you mean the image in gallery section or gallery block?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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

i mean the image in the gallery. Lets say there is 10 images in the gallery and the user clicks on a button labeled "Image 5" then that button will take them to the 5th image in the gallery. Not on another page, but on the same page with a anchor link.

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.