Caption not displaying for Smugmug
-
For accessibility reasons I am adding captions to my photos from smugmug. However when I try to display these in a gallery on my site (see link) the captions are not added in to the img alt= tag of the thumbnail. So not when hovering because that shows a title for each photo even though only 4 are set with a title.
Default setting in photonic setting is set to:
“Use the photo description / caption. If blank use the title.”
Gallery is generated with Default setting. When setting the gallery specifically to use the “Use the photo description / caption. If blank use the title.” setting it does retrieve the titles and set them as alt= for the img tag and for the link <a href title= tag.
For the 8 photo’s I’ve set the first 4 with just a title “Fulco’s Lenteconcert 2025” and the last 4 with no title but only with caption “caption Fulco’s Lenteconcert 2025”. The first 4 populate the title= for links and alt= for img but the last 4 only set title= even though these photo’s don’t have a title set.
Perhaps my expectation is wrong but when inspecting the photos I would expect the first 4 to show the title as img alt= and the last 4 the caption as name.
Also tested with the setting “Always use the photo description / caption, even if blank” but then nothing is shown for all pictures. Both as default and specifically set for the gallery.The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.