Jump to content

Display File names in a gallery

Recommended Posts

Hi there,

I'm a photographer and I often upload private galleries for clients with a password so that they can go through a photoshoot and select individual images for retouching, so being able to see the file name as an image title is really important.

I used to use the following code in the individual galleries 'Cog icon'>advanced>code injection box;

Which I got from another user.

I'd then select 'show title' in the galleries settings, refresh the page and voila. But I havent done this in a while and since Squarespace have updated the interface to do this I can no longer find 'show title' anywhere.

I dont know if this effects things but I've just had a look through my site and I also have this same above code in Settings>Advanced>Code injection.

And also I have the following code in Design>Custom CSS


.image-title { display: none; } .image-desc { display: none; }
.image-title, .image-desc, .image-desc-mobile p  { display: none; }

No idea what that is or if its affecting things.

I'm using 'Wells' template, site address here: www.ashholdsworth.com

Thanks!

Photographer

Link to comment
  • Replies 2
  • Created
  • Last Reply

I suspect this used to work because in the past you'd correctly add a Gallery Block to a standard Page for clients. If you're trying to make it work with a Gallery Page, that's likely to be the issue.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
  • 1 year later...

For galleries that are not tucked under an index page, the following code to show the images titles has worked for me in Brine family templates (7.0).

Maybe you can adapt?

/* On non-index accessed gallery pages, display the title and description */

.collection-type-gallery.gallery-design-grid .slide .slide-meta {
    display: block;
    line-height: 16px;
}

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.