Lightbox for Gallery & Image Block source code
By Johannes Kinast, on WordPress.org since 2020. 20,000+ active installs.
This WordPress Plugin adds a simple & lightweight Lightbox to the standard WordPress Gallery & Image Block. Below is its source code for every one of its 27 releases, what changed in the latest one, and how often it ships.
What changed in 1.9.0
Released Sep 10, 2021, 1 month after 1.8.5- Support new Gallery Block format (will be released with WordPress 5.9 in December 2021) https://make.wordpress.org/core/2021/08/20/gallery-block-refactor-dev-note/
2 files changed since 1.8.5: 2 modified, 0 added, 0 removed.
- README.txt modified, +178 bytes
- gallery-block-lightbox.php modified, +24 bytes
Release history
27 releases since June 2020- 1.16.1 Jan 29, 2026 No changes, just a version fix.
- 1.16.0 Mar 24, 2025
- 1.16 Mar 21, 2025 Add filter baguettebox_animation to choose between ‘slideIn’ | ‘fadeIn’ | ‘false’ animation styles on image transitions.
- 1.15 Sep 23, 2024 Add filter baguettebox_captions to change the JavaScript function to get the caption of an image
- 1.14 Aug 8, 2024 Add the CSS class .no-lightbox to an element to disable the lightbox