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
  • Views 2.1k
  • 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'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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.