Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make…
About Divi Lightbox for Images
This plugin allows you to use the native Lightbox script in Divi Theme for individual self linked images, without the need for additional plugins. Simply activate the plugin and it will load the Lightbox script in the footer for better optimization and performance. Please note that this plugin only works with Divi Theme or Divi Builder plugin installed and active.Screenshots

Changelog
2.2.6
- Improved: Tested and verified compatible with WordPress 7.1
- Fix: Divi Builder detection now checks the
ET_BUILDER_VERSIONconstant before the admin-onlyis_plugin_active()function, so the front end no longer depends onwp-admin/includes/plugin.phpbeing loaded by another plugin
2.2.5
- Fixed: Linked images (e.g. button-style images linking to other pages) were being hijacked by the lightbox since 2.2.0, overriding the original
href - Improved: Attachment-page detection now requires the link to be same-origin, not open in a new window, and either carry an
attachment_idquery parameter or have a path slug that matches the image file name - Plain external or internal links wrapping an
<img>are now left untouched, restoring the original click behavior - Changed: Version history moved to a dedicated changelog.txt file served from the plugin’s public SVN, keeping readme.txt focused on the current release
2.2.4
- Fixed 404 error in browser console on Divi 5 for
magnific-popup.jsandmagnific_popup.css - The plugin now verifies the bundled Magnific Popup files actually exist on disk before enqueuing them, and cleanly falls back to the built-in vanilla JS lightbox when they are not available
- Enqueue hook moved to priority 20 so Magnific Popup detection correctly sees scripts already registered by Divi
- Hardened script detection loop against non-string values (prevents potential PHP 8+ warnings)
2.2.3
- Fixed lightbox not working on images in the WordPress classic/block editor post content field when rendered by Divi’s Post Content module
- The Post Content module container (
.et_pb_post_content) is now correctly recognized as an allowed content area
For older changelog entries, please check the changelog.txt file
