Lightbox with PhotoSwipe source code
By Arno Welzel, on WordPress.org since 2017. 20,000+ active installs.
This plugin integrates PhotoSwipe to WordPress. All linked images in a post or page will be displayed using PhotoSwipe, regardless if they are part of a gallery or single images. Below is its source code for every one of its 38 releases, what changed in the latest one, and how often it ships.
What changed in 5.25.1
Released Nov 26, 2026, 14 hours after 5.25.0- Updated WordPress compatibility information.
3 files changed since 5.25.0: 3 modified, 0 added, 0 removed.
- lightbox-photoswipe.php modified, same size
- readme.txt modified, +60 bytes
- src/LightboxPhotoSwipe/LightboxPhotoSwipe.php modified, same size
Release history
38 releases since June 2025- 5.25.1 Nov 26, 2026 Updated WordPress compatibility information.
- 5.25.0 Nov 26, 2026 Fixed incorrect cleanup of static transients for non-default database table prefixes (for example in multisite installations).
- 5.24.0 Nov 16, 2026 Set custom user agent when requesting remote images to avoid errors when servers expect certain user agents.
- 5.23.0 Nov 15, 2026 Enable “drag to close” and “pinch to close” for mobile devices.
- 5.22.0 Nov 14, 2026 Refactoring of caption sanitizing avoid errors opening PhotoSwipe in case DOMPurify throws an exception.