The most lightweight WordPress lightbox plugin...and the featherlight CSS/JS (only 7kb) is automatically disabled unless you manually enable within ea …
This minimal WordPress lightbox plugin adds high performance, responsive jQuery lightbox functionality to your images. When standard WordPress images/galleries are clicked, the background fades out into black as images display in lightbox popup. Galleries can be navigated with on-screen arrows, touchscreen swipes, or pressing arrows keys.
In order for WordPress images and galleries to be lightboxed:
– You must select the “Media File” option when choosing where thumbnails should link. You can also select the “Custom Link” option if it links directly to an image file. This should work for any image file, even if it’s hosted on another website.
– Enable on each post by checking “Enable lightbox” on the WP Featherlight settings.
– You can also lightbox videos, iframes, and ajax content by adding data attributes to your content. For more details on custom content loading, check out the featherlight documentation.
My plugin is simply a forked version of the original WP Featherlight plugin. Only difference is the original loads the featherlight CSS/JS on every page whereas mine only loads when you manually enable. Big thanks to Yin and Walter for contributing.
Yes, this plugin works perfect with the latest version of WordPress! It also works with older versions as well but you should always run the latest WordPress and PHP version for best security and performance. This plugin is used in my critical sites so you can be assured it works perfect.
No. It’s the most lightweight lightbox plugin possible. It does only the essential function and nothing more. No heavy PHP processing or database queries. I’m an absolute speed fanatic.
Probably not. This was intended as a free community plugin and to be as lightweight as possible. You’re welcome to fork it and make your own. Or if you need a more full-featured image gallery, I love Jordy’s [Meow Gallery] plugin(https://wordpress.org/plugins/meow-gallery/). That WP Featherlight and Meow Gallery are the 2 most lightweight and developer-grade image/gallery plugins IMO. I wouldn’t use anything else.
Display problems can be related to your theme. You can open a support request or see more information on the official Featherlight script GitHub page.
Plugin has no GUI options. Some handy filters are available to modify default behavior. All images using default WordPress captions will also include a caption when the image is lightboxed. To disable this behavior, filter wp_featherlight_captions
to false.
Plugin was tested in latest WP 6.4.2 and description was updated. More screenshots were added to help customers with the images configuration.
The official WP Featherlight plugin uses same meta value name for each post as our plugin. To avoid the same meta parameter name usage, we decided another meta name “zeroneit_featherlight_disable”.
.webp format is supported.
Starting fork off of the official WP Featherlight version 1.3.3. (Only thing changed was the default load behavior, and checkbox wording in post setting.) For older changes, see the official WP Featherlight changelog on GitHub