simple-lightbox icon indicating copy to clipboard operation
simple-lightbox copied to clipboard

[Request]: Hide file name, preload images

Open cmastab opened this issue 4 years ago • 6 comments

Description of feature

Hello. First, thank you very much for this nice and useful plug-in! It would be nice to have the option to hide the file name of the image in the slide show.

A pre-load of the next image would be cool to smoothen the transition to the next image.

This feature would be used to

If you added this feature, I would:

d)!!!

a) Eat my hat b) Jump for joy c) Shave my cat d) All of the above

cmastab avatar Sep 07 '21 13:09 cmastab

Hi, WordPress generates a title for media by default that is basically the file name without the extension. Disabling the "Enable default title" option in SLB's settings prevents these default titles from being used in the lightbox.

You can add your vote to the existing ticket on preloading media, as development is prioritized by demand.

Thanks.

archetyped avatar Sep 08 '21 20:09 archetyped

Hello. The option "Enable default title" was already disabled. I enabled and disabled it again but it shows still the name of the image (See attached print screens).

image

image

cmastab avatar Sep 10 '21 08:09 cmastab

Please provide a link to a page that exhibits the issue you are experiencing and I would be glad to take a closer look.

archetyped avatar Sep 10 '21 21:09 archetyped

On this page I experience the issue: https://shbs.ch/2021/09/07/hoeck-september-2021/

Von: Archetyped Gesendet: Freitag, 10. September 2021 23:50 An: archetyped/simple-lightbox Cc: cmastab; Author Betreff: Re: [archetyped/simple-lightbox] [Request]: Hide file name, preloadimages (#901)

Please provide a link to a page that exhibits the issue you are experiencing and I would be glad to take a closer look. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

cmastab avatar Sep 10 '21 22:09 cmastab

Thank you for the additional details. It looks like WordPress 5.3+ changed how large image uploads are handled. WP now generates a scaled-down version and sets that as the "full" size image.

Support for scaled-down versions when detecting default image titles has been added to SLB's to-do list.

archetyped avatar Sep 11 '21 01:09 archetyped

Thank you!

cmastab avatar Sep 11 '21 08:09 cmastab