archetyped / simple-lightbox

The highly customizable lightbox for WordPress
http://archetyped.com/tools/simple-lightbox/
GNU General Public License v2.0
74 stars 33 forks source link

[Request]: Use alt text instead of filename for slideshow caption #1039

Closed PeteAUK closed 10 months ago

PeteAUK commented 10 months ago

Description of feature

Provide the option that if a caption is not present to use the ALT text or Image Title Attribute value rather than the file name.

This feature would be used to

Provide more control over the caption text underneath the image within the slideshow

If you added this feature, I would:

b) Jump for joy

archetyped commented 10 months ago

Hi, the file name is never used as the lightbox's title. If you are seeing a value that resembles the file's name, then it is likely the default title that WordPress auto-generates for an uploaded file.

You can prevent default titles from being displayed in the lightbox by disabling the "Enable default title" option (disabled by default) in SLB's settings.

Also, ALT text is already used for the lightbox's title when other higher-priority values are not available. You can see all the values SLB can use for the lightbox title in SLB's Title Precedence documentation.

If you have disabled the "Enable default title" option are are still seeing a value that resembles a file name as the lightbox's title, please provide a link to a page that exhibits this, and I would be glad to reopen this ticket and take a look.

Thanks.