Lightbox for Gallery & Image Block source code

By Johannes Kinast, on WordPress.org since 2020. 20,000+ active installs.

Browse code Download zip

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.

Compare 1.8.5 with 1.9.0

Release history

27 releases since June 2020
  1. 1.16.1 Jan 29, 2026 No changes, just a version fix.
  2. 1.16.0 Mar 24, 2025
  3. 1.16 Mar 21, 2025 Add filter baguettebox_animation to choose between ‘slideIn’ | ‘fadeIn’ | ‘false’ animation styles on image transitions.
  4. 1.15 Sep 23, 2024 Add filter baguettebox_captions to change the JavaScript function to get the caption of an image
  5. 1.14 Aug 8, 2024 Add the CSS class .no-lightbox to an element to disable the lightbox
Full Lightbox for Gallery & Image Block changelog with diffs

Source of 1.9.0

4 files
Browse all Lightbox for Gallery & Image Block 1.9.0 files Browse trunk