logoDescription:
Plugin that turns linked images into neat Javascript-powered overlay popups. This plugin includes the cool javascript done by Lokesh Dhakar and got transformed into a Wordpress Plugin by me who got inspired by Frank from 2d-sign. Version 0.1 till 0.5 featured Lightbox1. Beginning from version 0.6 it is now featuring Lightbox2.

Last update: Sept 09th, 2008
Latest version: v0.7a (Download)

What is it good for?

It scans your posts for linked images and makes a nice overlay popup out of them. This is much better than linking to a new window or even open a old-school javascript popup. The Lighbox-overlay shows a small preloader animation before showing the full image. Before i continue to talk about what it is, i better show some examples.

Examples

Example Linked Image
This is an example. The HTML Title-Attribute provides this caption

Example Linked Series (introduced with v0.6)
A huge treeSome plantsNo McDonalds.. damn!

Example Text-Linked Image
Click me to watch

How to use the Lightbox2 Series feature?

(v0.6) That is quiet simple. I have used the HTML title tag to make this process as easy as possible. Choose a name for the series and enclose it with braces. See example below - i chose “holiday”:

{holiday} Some Holiday Pic
{holiday} Me and my fam
{holiday} On the road

This will make the script sort all these 3 Pictures into a series, named “holiday”. Everything that comes after the braces will be used as the caption for the image. The part with the braces will be removed so it wont be displayed, or show up in the tooltip. Easy huh? But to make it more clear, here is the HTML:

<a title="{holiday} Me and my fam" href="/images/holidays/fam.jpg" />...
<a title="{holiday} On the road" href="/images/holidays/theroad.jpg" />...

Quite simple :) The Plugin will do the rest. Of course you can leave pictures out. Just dont put the braces part into the title-attribute and those will then become seperate lightboxes.

How to disable the Plugin for a post or page?

(v0.6+) If you don’t want the lightbox plugin affect a specific post, then you simply have to add the following tag somewhere in the text of your post:

##NOLIGHTBOX##

Don’t worry.. this tag will be removed too ;)

How to disable the Plugin for single image?

(v0.6 ONLY) For this we use the braces trick once again. To disable the lightbox on a particular image you have to put the following into the title-attribute. “nolb” as in “no-lightbox”:

{nolb}

It is the same story as if you want to create a series. Since this word is reserved for this functionally keep in mind that you cannot create a series using this keyword. For a non-lightbox plugin you can of course still have a title describing the image. Just append it like you’ve seen in the series example above.

Is it better than others?

I can’t tell. This one here is really for people who know nothing about editing templates or are too lazy to configure plugins with more options than “activate”. The most important thing is that you don’t need to adjust all your posts just to get the Lightbox in older posts. It is all fully automatic - plus this is a singlestep install and a pretty nice addon for almost any blog / design. Just try it for yourself .. it only takes a minute. I mainly made this one for fun and because it was kinda requested.

Okay.. How to Install?

1. Unzip the file to your local hard-drive
2. Upload the extracted folder to your Wordpress plugins folder (/wp-content/plugins/)
3. Activate it and you’re done!

Version History:

Version Changes Archive
0.1 initial release. Download
0.2 now checks if it is an image which is linked or a domain/url. Download
0.3 now works out of the box. just upload and activate! (thx tboley!). Download
0.4 now working with text-links (see above - thx Wouter!) Download
0.4/plus PLUS, using the modified version of Lightbox JS by Takuya Otani Download
0.5 added the URL fix provided by Ryan Duff (thanks!) Download
0.5/plus PLUS, using a modified version of Lightbox JS , added the URL fix provided by Ryan Duff (thanks!) Download
0.6b beta, now using Lightbox2 by Lokesh Download
0.6b2 beta2, fixed multiple rel-tags Download
0.6rc cleaned and shortened the whole code.. Download
0.6 disable features, imagelink-fix / now final Download
0.6.1 fixed the darn CSS to be valid. Download
0.6.2 removed unessecary javascript, should load faster now Download
0.6.3 no more inline CSS and now using latest Lightbox 2.02 Javascript: addresses IE6 centering fix, new nav images, multiline captions! Download
0.6.4b included the fixes by Steve Winton, transformed the php back to javascript due to reported problems. Should now work with HTTPS. It’s a beta after all. Download
0.7 Rewritten the whole plugin. Using latest versions of all files and was developed on Wordpress 2.2 Download
0.7a Built on Worpdress 2.6.1. Fixed Admin Panel. Added Lightbox 2.0.4. Compressed Javascript. Minimized DB Usage Download

Download latest version

Download version 0.7a (zip)

Installation

Download this new version, extract to /wp-content/plugins, activate. Make sure you keep the lightbox folder that is within the zip. Copy the whole folder to the plugins folder. Check out the new Optionspanel in the Adminmenu after you activated the plugin. Enjoy Version 0.7a, released in Sept 2008


CC-GNU GPL

This software is licensed under the CC-GNU GPL.

Developer?

You can simply clone the current source via Git from the GitHub: Repository.
Comments, Patches, etc.. welcome.