How much your website is worth?

Check your site worth, Google PR and othe SEO stats.

How to Use: You can check more details here

Lightbox Demo: You can see live demohere

  1. You can use WordPress image galleries and have them grouped and auto-lightboxed: [gallery link="file"]
  2. You can also add a rel="lightbox" attribute to any link tag to activate the lightbox. For example:
    	<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
    Optional: Use the title attribute if you want to show a caption.
  3. 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>
    No limits to the number of image sets per page or how many images are allowed in each set. Go nuts!
  4. To disable lightboxing of an image link, just set any other rel-attribute: rel="nobox"

WP Lighbox 2 Needs Your Support

It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using WP Lighbox 2 and find it useful, please consider making a donation. Your donation will help encourage and support the plugin's continued development and better user support.

For developers:

  1. Always have wp_footer(); just before the closing </body> tag of your theme, or you will break many plugins, which generally use this hook to reference JavaScript files
  2. 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"
  3. Many JavaScript optimizers, combiners, minifiers, etc. conflict with wp_localize_script(), used to configure this plugin and many others.


Changes to Lightbox-script:

Takes the WordPress admin bar into consideration.
Resizing code manages both height and width and never destroy aspect ratio.
Scaling routines now maximize images fully while taking captions into account.
Added support for browser resizing and orientation changes - allowing images to remain optimally scaled and centered.
WP Lightbox 2 rely on rel="lightbox" instead of class="lightbox", since rel is what all the previous *box-scripts used.
Replaced explicit IMG-urls with divs styled through the CSS. (see: jqlb_loading and jqlb_closelabel divs).
Can grab titles and captions from the WordPress Media Gallery-output ([gallery], "insert attachments" etc).
Grabs image title if the link lacks one
Honors empty titles.
Uses WordPress API to localize script (with safe fallbacks).