Extension:LightboxThumbs

Description
LightboxThumbs incorporates Lokesh Dhakar's fullsize image viewer Lightbox 2 into MediaWiki's thumbnails and image galleries.

When a user clicks on a thumbnailed image or an image in a gallery, the page darkens and the image is displayed full-size "on top of" the page. A caption below the image includes the image's title and a link to its description page, along with the caption on the thumbnail, if any. Clicking anywhere off the image returns everything to normal.

Images in galleries are treated as being part of a slideshow, and have "previous" and "next" images.

Bugs

 * Very large images may take over your screen! That is, it doesn't do any resizing.
 * If there are multiple galleries on one page, they are treated as being part of one big slideshow.

Caveat ūtor
This was developed on an installation of 1.11 with an old custom skin and a bunch of extensions and a lot of general hackery. Unforeseen behavior is a very real possibility.

That said, let me know and I'll try to fix anything that goes wrong.

Installation
include_once("$IP/extensions/LightboxThumbs.php");
 * 1) Copy LightboxThumbs.php and save into your extensions/ directory.
 * 2) Add the usual line to LocalSettings.php:
 * 1) Create a new directory LightboxThumbsFiles/ in your skins/ directory.
 * 2) Download Lokesh Dhakar's Lightbox 2 and place the css/, images/, and js/ directories into skins/LightboxThumbsFiles/</tt>.
 * 3) Edit skins/LightboxThumbsFiles/js/lightbox.js</tt>: change fileLoadingImage</tt> and fileBottomNavCloseImage</tt> so they're indicating where the images actually are (add "skins/LightboxThumbs/</tt>" before "images/</tt>").