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?
WP Lightbox 2
WP Lightbox 2 is an WordPress lightbox tool for adding responsive lightbox effect for your website images and also create lightbox effect for album/gallery photos on your WordPress blog. Just install and sit back. This plugin enable image overlay Lightbox effect for all the images in your WordPress website. Also our WP Lightbox 2 plugin allow you to configure the lightbox settings. There are a lot of useful setting for this lightbox, that will help you to display lightbox effect in different ways. This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog. WP Lightbox 2 have a lot of useful features. WP Lightbox 2 features: Features of WP Lightbox 2 plugin Fully Responsive WordPress Lightbox Easy install and use Works on all modern browsers WP Lightbox 2 works perfectly with all versions of WordPress Group related images in post and navigate through them with ease Ability to use lightbox in comments Ability to display download link for images Ability to change image info position Ability to reduce large images to fit smaller screens Ability to set Animation duration Ability to to type additional text below image info Ability to change Lightbox Overlay opacity Lightbox effect for WordPress Galleries User friendly back-end for WP Lightbox 2 plugin Tested on popular WordPress themes This plugin was created by Syed Balkhi and Thomas Griffin. Check out some of our other products, including Soliloquy – the best responsive WordPress slider plugin, Envira Gallery – the best responsive WordPress gallery plugin and OptinMonster. WP Lightbox 2 General Settings Use Lightbox for all image links – Enable or disable the lightbox. Enable lightbox in comments – This feature will enable lightbox for your comments. Show download link – You can display download link. Show image info on top – Choose image info position. Reduce large images to fit smaller screens – We recommend to enable this option, it will reduce large images to fit smaller screens. Minimum margin from top – You can change image position from top. Lightbox Animation duration – Type here animation duration for lightbox. Additional text below image info – Type here text, and it will appear below images. WP Lightbox 2 Design Settings Overlay opacity – Set overlay opacity for lightbox. Overlay color – Choose overlay opacity for lightbox. Overlay close function – This function will close the lightbox when you click on overlay. Lightbox image Border width – Type here Lightbox image Border width. Lightbox image Border color – Choose Border color for Lightbox image. Lightbox image Border radius – Type here Lightbox image Border radius. Show/Hide image numbers(ex. Image 1 of 3) – Choose to show or hide numbers for images. Image info and close button background opacity – Set image info and close button background. Image info and close button background color – Set Image info and close button background color Image info text color(includ download link and other text) – Set Image info text color. Image info text font-size (include download link and other text) – Type Image info text font-size (include download link and other text) Next image title tag – Type here next image title tag. Previous image title tag – Type here previous image title tag. Choose Next/Previous button image – Choose Next/Previous button for lightbox. Maximum Width – Type maximum width for lightbox images. Maximum Height – Type maximum height for lightbox images. Show/Hide close button – Choose to show or hide close buttons for WordPress Lightbox. Close button max height – Type here close button max height for Wp Lightbox 2. Close button image title tag – Type here close button image title tag for Wp Lightbox 2. Lightbox close button image – Choose one, or upload your own image for close button for Wp Lightbox 2. Keyboard navigation – With this feature users also can change images with keyboard. Fix position for lightbox – That’s mean your lightbox shouldn’t change position when users scroll up or down. This plugin was created by Syed Balkhi and Thomas Griffin. Check out some of our other products, including Soliloquy – the best responsive WordPress slider plugin, Envira Gallery – the best responsive WordPress gallery plugin and OptinMonster.