Lightbox 2 plugin is used to add the lightbox (overlay) effect to the images in the post and pages. This plugin is developed by team “SAY Masdi” with the help of onlinewebapplication.com. Author claims that this lightbox 2 plugin is extension of wp-jquery-lightbox
Now Lightbox 2 plugin is the compatible with WordPress 3.9.1 +
Below the feature listed -
This is the first lightbox plugin which support image map.
Works on all modern browsers.
Group related images in post and navigate through them with ease.
No configuration required.
Lightbox display of Gallery.
Responsive Lightbox plugin.
WP Lightbox 2 is very lightweight plugin. There is no extra page load overhead on the server. Image loaded very fast.
How to Use Lifgtbox 2 Plugin:
By default the option “Auto-lightbox image links” is enabled, means all the images in your website will have overlay color-box impact.
You can also add a rel=”lightbox” attribute to any link tag to activate the lightbox. For example:
<a title="my caption" href="images/image-1.jpg" rel="lightbox">image #1</a>
If you have a set of related images that you would like to group, simply include a group name in the rel attribute. For example:
<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a> <a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a> <a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a>
To disable lightboxing of an image link, just set any other rel-attribute: rel=”nobox”.
Apply lightbox to any content by running
jqlb_apply_lightbox($your_content, "any ID"); It returns a string with all image links lightboxed, grouped by “any id”
Click on image to view full size and colorbox / loghtbox impact.