Core Lightbox Gallery
The Core Lightbox Gallery plugin revolutionizes the way you display galleries in Publii. Powered by the modern and robust PhotoSwipe v5 library, it offers a sleek, high-performance solution for rendering native gallery markup with advanced features and unparalleled customization. This plugin is designed to enhance the visual appeal and user experience of your site's galleries, replacing the previous PhotoSwipe v4 integration found in themes with a dedicated, standalone plugin.
Key Features
- Modern Framework: Built with ES6 modules, offering a clean, fast-loading script that dynamically imports only what’s needed.
- Fluid Animations and Gestures: Enhanced performance for animations and touch gestures, making interactions feel natural and seamless.
- Dynamic Zoom Controls: Open images in a zoomed state or adjust zoom levels dynamically for a tailored viewing experience.
- Minimal Impact on Performance: Designed to work exclusively within posts and pages, ensuring that its functionality is applied only when necessary. It automatically detects if a gallery is present on the page or post, and only then does it load the required CSS and JavaScript files. This intelligent behavior minimizes resource usage and ensures optimal site performance by avoiding unnecessary asset loading.
Enhanced Customization Options
The plugin provides extensive configuration options grouped into categories for easy navigation:
- Layout & Zoom: Control the default and interactive zoom levels, and adjust slide spacing and padding for a polished layout.
- Interface & Controls: Choose actions for clicks and gestures, such as zooming or navigating to the next slide. Enable or disable interface elements like close, zoom, and download buttons.
- Accessibility & Navigation: Enable keyboard navigation, mouse wheel zooming, and looping through slides for a smoother user experience.
- Appearance: Customize colors for overlays, placeholders, and UI elements using color pickers. Select from predefined icon sets or upload custom SVGs for a unique look.
- Animation: Configure opening and closing animations, including duration, effects, and easing curves.
Note: To use these plugins, you must install the latest versions of the Publii themes released on December 10, 2024, or later. In most cases, these will be versions 2.1.0.0 or 3.1.0.0 For detailed instructions on updating custom themes, please refer to this article.
Details
- Version:
- Updated:
- Dec, 10 2024
Requirements and compatibility
- Browser:
- Edge, Firefox, Chrome, Safari, Opera
- Requirements:
- Publii 0.43.x and up