Jump to content

Image File Name Automatically Add to Caption

Recommended Posts

Posted

Hi, I am using 7.1 in the Business Plan. I am rewriting a huge old website which was written mainly in Dreamweaver CS6.

I am a photographer and am self-taught in HTML / CSS so some aspects I am very familiar with and some not at all. Therefore please accept my apologies if I am wasting your time.

Anyway, I am creating pages for photo galleries. These are simply from blank new pages to which I add various Sections. Then within the appropriate Section I add photos using the basic Inline Block and the user gets to see each photo from the top downwards by scrolling. This is my preferred design as the vast majority of my visitors use smartphones and they can get frustrated very quickly if designs are too fancy.

For some pages I would like that the image file automatically appears in the Caption under each photo. I can do this manually for each image obviously but that gets laborious. Is there any way of automating this? I know that SS adds the filename to the alt-text as a default but that appears to be as far as it goes. n.b. in these particular pages no image would need any caption other than the file name (if I did want to add extra information I would add a Text Block for that).

At present I have to add file names to images by creating a watermark or suchlike using a bulk action such as that with Photoshop or Capture One Pro. But that is far from ideal as the visitors cannot copy and paste the filename to their own list.

Many thanks if you've made it this far!

  • Replies 3
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

As I say it is the Business Plan and it is in 7.1

I would create a specific page for an individual client to view - which I could include password protect obviously - and add a series of photos using one Inline Block per photo. Squarespace recognises each image file name so long as I allow it enough time to digest it before clicking on "Apply" and it then gets into the Alt-Text. I could add a Caption by copy and pasting the file name but that is long and tedious if there are more than a handful of photos.

What I would like to achieve is that the file name automatically goes into the Caption - perhaps it needs to read the Alt-Text rather than the file name to get the Caption. At present as I'm sure you know it works the other way round in that the Caption becomes the Alt-Text.

Its very quick and simple for me to add the file name onto the front of each of a group of photos with a batch action that can run into the hundreds if needs be. At present I use Capture One Pro the RAW photo files editor. But that is not ideal from the end viewers perspective.

Incidentally, I've found that the maximum number of photos per page appears to allow higher than the "official" 250. I was able to post 261 photos to one page with no warnings showing. This may be because my photo dimensions are 1500px x 1000px landscape and 667px x 1000px portrait rather than the suggested 2500px. I also use an excellent little app called JPEGmini which batch reduces JPEGs by an average of 25% with no noticeable quality hits. Maybe Squarespace is looking more at the total file weight rather than the total numbers of files.

Thanks.

  • 1 year later...

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.