| 开发者 | gvijaikumar99 |
|---|---|
| 更新时间 | 2026年7月30日 00:21 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
rel="lightbox[group]" markup that several older lightbox plugins wrote into post content. These are left exactly as they are, so a site with years of old posts keeps the grouping it was published with.<picture> elements keep working, links you added yourself are never hijacked, and an image inside a link keeps going where you pointed it.
Parsing is done with WordPress's own HTML API rather than regular expressions, so quoting and unusual attribute values are handled correctly.
It tries not to get in the way
Esc closes, left and right arrows move between images.role="dialog" and aria-modal, and the image counter is announced.prefers-reduced-motion is respected.No. Insert images the way you already do. If an image has no link, the plugin finds the full-size file for you.
No. Content already containing rel="lightbox[group]" is left untouched and works as it always did, including the grouping.
Four cases are skipped on purpose: images already shown at their full size, images narrower than 400px, images that are not in your media library, and images inside a link you added yourself. In the last case your link is more important than an overlay, so it is left alone.
Yes, with the fnlb_min_width filter:
add_filter( 'fnlb_min_width', function () { return 250; } );
Yes. fnlb_enabled controls whether the CSS and JavaScript load, and fnlb_rewrite_content controls whether image markup is touched:
add_filter( 'fnlb_enabled', function ( $on ) { return ! is_front_page(); } );
Images in a gallery block are handled the same way as any other image in the post, and all images in a post form one set.
No. There are no external requests, no analytics and no phoning home.