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


Edited by Paul2009


Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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

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.