The main purpose of the ‘Lightbox Images for Divi’ plugin is to extend Divi’s native lightbox functionality to all auto-linked images, not just Divi galleries.
Requirements: This plugin requires ONE of the following to be installed and active: * Divi Theme (version 4.10 or higher) * Divi Builder Plugin (version 4.10 or higher)
The plugin will automatically check for these requirements during activation and will not activate if they are not met.
Main features:
- Full Divi 5 Support: Works with Divi 5 pages, including backwards compatibility mode. No jQuery required — the plugin works in vanilla JavaScript with an elegant built-in lightbox when Magnific Popup is not available
- Attachment Page Links: Now handles images linked to WordPress attachment pages (not just direct image URLs), resolving the full-size image automatically
- Dependency Checking: Automatically verifies Divi theme or Divi Builder plugin is active before allowing activation
- Extended Compatibility: Works with the Divi or Divi Builder theme, compatible with Divi 4.10+ and Divi 5
- Native Integration: Uses Divi’s Magnific Popup when available, falls back to a lightweight built-in lightbox otherwise
- Easy to Use: Simply install and activate the plugin. No additional configuration is required
- Optimized Performance: Vanilla JavaScript with no hard dependencies. CSS and JS loaded conditionally
- Ready for the Future: Works in both Divi 4 (jQuery/Magnific Popup) and Divi 5 (vanilla JS fallback) environments
- Extensible: Includes a filter (
ayudawp_lightbox_selectors) that allows developers to customize CSS selectors to include or exclude specific elements
This plugin enhances the user experience on websites built with Divi, ensuring that any image linked to itself (i.e., clicking on it opens the image in its full size) is displayed in a lightbox effect.
Unlike Divi’s default functionality, which often restricts this effect to galleries, this plugin extends it to all individual images, providing a consistent and engaging visual experience.
The plugin is ideal for photographers, bloggers, and any Divi user who wants to offer a more polished and professional image viewing experience without the need for complex configurations or additional gallery plugins.
Support
Need help or have suggestions?
Love the plugin? Please leave us a 5-star review and help spread the word!
About AyudaWP
We are specialists in WordPress security, SEO, and performance optimization plugins. We create tools that solve real problems for WordPress site owners while maintaining the highest coding standards and accessibility requirements.
