As if there were not already enough of these lightbox scripts! However, for my taste most of these scripts are a little bit too overloaded and do not work as expected regarding the back and forward buttons of the browser. That's why I wrote another one based on jQuery and the Hashchange Plugin.
The script adds the lightbox function to all links with the
rel="lightbox"; alt and title attributes of the thumbnails are used as the image caption and description.
Note: jQuery must be downloaded separately or included by googleapis.com (see page source).