New Lightbox 2.5 plugin for Wordpress

Get the latest version here. Click a thumbnail pic to see it in action.

Boy and his TurtleJapanese sceneleaves at Benny's

Lightbox 2 allows you to present images in a slick window, while darkening the rest of the page. It makes your site look professional, and adds very little to page load times. It does not require any browser plugins to work, and works on just about every web browser out there! When a browser doesn’t support javascript, your web site still looks and works fine.

The brilliant Lightbox 2.2 javascript/css was written by Lokesh Dhakar. I simply made it into a Wordpress plugin and added some options.

To install: Put the lightbox-2 folder in your Wordpress plugins folder, then activate it in Wordpress.

Implementing Lightbox on your site is easy: grab the lightbox-auto plugin by Mdkart which automatically adds this code to appropriate images! Or, if you prefer, manually add rel=”lightbox” to your thumbnail image’s href tag, or rel=”lightbox[groupname]“ to a group of related photos.

Features:

  • Themes that determine the colours of the lightbox window. You can select from Black, White or Grey.
  • No longer conflicts with any Wordpress themes! This means it looks right, every time. Unless you are using a theme called stimuli_lightbox… ;)
  • This version works when wordpress is installed in non-standard locations, ie: /wordpress/ instead of /, whereas other Lightbox plugins break.
  • Uses the arrow keys as well as P and N keys to navigate between images. The X and Escape keys close the Lightbox window, as does clicking anywhere outside the image.
  • Minor cosmetic changes from the scripts by Lokesh.

Please read the readme.txt included with the plugin before posting a comment!


About this entry