Posted
·
Edited by Aqualina Clarification on one point
Hello Brandon,
Big thanks for this code. Using it I've been able to show image descriptions (using for photo credits) only within the Lightbox of a Masonry Gallery Section.
Since then I've tried a few ways to link using different parts of the text to external pages (there may be multiple links per description, 1 for each credit):
First I tried including an anchor tag within the description for the image itself, however it looks like Squarespace strips out the HTML.
Next I executed a Javascript function following the call to "addGalleryItemDescriptions()" in your code. This function successfully updates the InnerHTML of the Div Class "gallery-item-description" elements to enclose certain string literals with the anchor tag. By checking the resulting code via Inspect Element this appears to be working, however the link does not appear as a link should (no underline) and cannot be clicked.
Thank you for any insight you may be able to provide.
Gallery Caption workarounds for 7.1?
in Images & Videos
Posted · Edited by Aqualina
Clarification on one point
Hello Brandon,
Big thanks for this code. Using it I've been able to show image descriptions (using for photo credits) only within the Lightbox of a Masonry Gallery Section.
Since then I've tried a few ways to link using different parts of the text to external pages (there may be multiple links per description, 1 for each credit):
Thank you for any insight you may be able to provide.
Evan and Aqualina Briggs.