Lightbox for Gallery & Image Block
This WordPress Plugin adds a simple & lightweight Lightbox to the standard WordPress Gallery & Image Block. It detects if a post contains a Gallery or Image Block and then loads & initialize baguetteBox.js, a pure JavaScript Lightbox script without any dependencies and a modern minimal look. There is no lock in effect. It does not add a new Block Editor/Gutenberg Block and relies solo on the standard WordPress Gallery and Image Block. You can deactivate this plugin at any time and your Gallery and Image Blocks will work as they’ve done before. Just without the lightbox. Just one important thing to remember: You always have to select Link → Link to image file or Link images to media file (see screenshots below) for all of your Image & Gallery Blocks to work properly. If you choose None or Link to attachment page it will not work. But that’s fine if you don’t want the Lightbox for a specific Image or Gallery. Take a look at the YouTube video from Jakson where he reviews this plugin: Features Here are the features of baguetteBox.js: Written in pure JavaScript No dependencies (e.g. jQuery) Image captions support Responsive Supports swipe gestures Around 13 KB, 7 KB gzipped Works with Gallery Block (Default Block) Image Block (Default Block) Media and Text Block (Default Block) Gallery (Default Classic Editor Gallery) CoBlocks Gallery Collage / Masonry / Offset / Stacked Meow Gallery (+ Gallery Block) Don’t forget to select Link to → Media File for all of your Galleries & Images to work properly. Notice: At the moment, just Blocks inside a post are supported. Not Blocks in a Widget. You can make it work but have to enqueue the necessary style & script yourself. See FAQ –> How to enqueue the necessary assets (script & style) for blocks outside of posts or for block types that are not supported by default?
Top keywords
- block13×4.19%
- gallery12×3.87%
- image9×2.90%
- blocks5×1.61%
- default5×1.61%
- link5×1.61%
- work5×1.61%
- image block4×1.29%
- lightbox4×1.29%
- block default3×0.97%
- block default block3×0.97%
- default block3×0.97%
Pic-Time Connect
Pic-Time Connect automatically generates comprehensive image sitemaps for all your Pic-Time photo galleries, helping search engines discover and index your images for better SEO performance. Key Features 🎯 Smart SEO Analysis – Automatically detects and processes Pic-Time galleries 📱 WordPress Integration – Seamlessly integrates with WordPress 5.5+ sitemap system ⚡ Performance Optimized – Focused data processing for faster sitemap generation 🔧 Selective Mode – Choose which galleries to include in sitemaps 🌐 Multiple Formats – Supports both standalone and WordPress-integrated sitemaps 🛡️ SEO Plugin Compatible – Works alongside popular SEO plugins 🔍 Robots.txt Management – Advanced troubleshooting and diagnostics tools How It Works The plugin scans your posts and pages for Pic-Time gallery embed codes, extracts image data from the Pic-Time API, and generates XML sitemaps that search engines can easily crawl and index. This helps improve your images’ visibility in search results. Sitemap Integration WordPress Sitemap Integration: Images appear in your main WordPress sitemap index (/wp-sitemap.xml) Standalone Sitemaps: Alternative endpoints for maximum compatibility Robots.txt Integration: Automatically adds sitemap URLs to your robots.txt file Robots.txt Management Diagnostic Tool: One-click testing and automatic fix attempts Platform-Specific Guides: Instructions for WordPress.com, WP Engine, Kinsta, and more SEO Plugin Integration: Step-by-step guides for Yoast, Rank Math, SEOPress, and others Force Add Option: Override SEO plugin conflicts when needed Selective Gallery Mode Control which galleries are included in your sitemaps using the data-pt-sitemap="true" attribute on gallery embed codes. Perfect for: Privacy control for personal galleries Improved performance with fewer galleries Strategic SEO management Developer Features Comprehensive debug logging Action hooks and filters for customization SEO plugin compatibility detection Maintenance tools for troubleshooting External Services This plugin connects to external services provided by Pic-Time to function properly: Pic-Time Update Service Service: Pic-Time Plugin Update Server URL: https://pictime1system.blob.core.windows.net/pictures/pt_wordpress_plugins/version.json Purpose: To check for plugin updates and display notifications to administrators Data Sent: Plugin version number and site URL (for compatibility checking) When: Once daily via WordPress cron, or when manually checked by administrators Privacy Policy: https://www.pic-time.com/privacy-policy Terms of Service: https://www.pic-time.com/terms-of-service Pic-Time Gallery API Service: Pic-Time Image Data API Purpose: To fetch image metadata from your Pic-Time galleries for sitemap generation Data Sent: Gallery IDs extracted from your embed codes When: When generating sitemaps or when pages containing Pic-Time galleries are processed Privacy Policy: https://www.pic-time.com/privacy-policy Terms of Service: https://www.pic-time.com/terms-of-service This plugin only functions with existing Pic-Time gallery accounts and embed codes. No data is sent without your explicit configuration of Pic-Time galleries on your website. Support For support with this plugin, please visit the Pic-Time support forum. For Pic-Time account and gallery-related questions, please contact Pic-Time support. Privacy Policy This plugin does not collect, store, or transmit any personal data. It only processes publicly available image URLs from your Pic-Time galleries to generate search engine sitemaps. Third-Party Services This plugin communicates with Pic-Time’s servers to retrieve image metadata for sitemap generation. Please review Pic-Time’s Privacy Policy for information about their data handling practices. Development This plugin follows WordPress coding standards and best practices: Full internationalization support with proper text domains Secure coding practices with proper input validation and output escaping WordPress filesystem API usage for file operations Proper database query optimization with caching SEO plugin compatibility detection and handling Comprehensive error handling and logging Technical Requirements WordPress 5.0 or higher (5.5+ recommended for full sitemap integration) PHP 7.4 or higher Active Pic-Time galleries on your website Public site visibility for robots.txt integration Credits Developed by Shahaf Wieder with Claude AI assistance. Special thanks to the Pic-Time team for API support and integration guidance.