| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-08-20 | 1.2 kB | |
| Version 4.0.0 source code.tar.gz | 2026-08-20 | 7.4 MB | |
| Version 4.0.0 source code.zip | 2026-08-20 | 7.5 MB | |
| Totals: 3 Items | 14.9 MB | 0 | |
Breaking changes
ILBOptionsis now an exported type instead of a global. Import it explicitly: ```ts import { ImageLightbox, type ILBOptions } from "imagelightbox";- The jQuery adapter's method declarations (imageLightbox, startImageLightbox, …) are now shipped in the imagelightbox/jquery entry point rather than declared globally, so they are only visible where that entry point is imported.
Bug fixes
- Fixed the style and types entries in package.json exports pointing at files that don't exist.
- data-ilb2-video autoplay now honours an explicit false instead of treating any present value as enabled.
- Fixed an error when closing a gallery with enableKeyboard: false — Escape no longer lets the browser dismiss the dialog behind the lightbox's back.
- Fixed a race condition when adding images to an open gallery with navigation enabled, and the navigation is now properly removed when the gallery closes.
Other
- The demo page is no longer part of the npm package, cutting several megabytes of demo images and video from the download. It remains available at https://marekdedic.github.io/imagelightbox
- Support for jQuery 4.