Extension:SlimboxThumbs

Description
SlimboxThumbs incorporates Christophe Beyl's fullsize image viewer Slimbox 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

 * If there are multiple galleries on one page, they are treated as being part of one big slideshow.

Todo

 * Set resize height according to browser height
 * Change resize width & height on window.resize
 * Convert code to object-oriented-code

Props
Thanks to Alexander for creating the original Lightbox 2 version of this extension.

Installation

 * 1) Create a slimbox2 directory inside your extensions directory.
 * 2) Copy SlimboxThumbs.php and save into your extensions/slimbox2/ directory.
 * 3) Download Slimbox 2 and place it inside extensions/slimbox2/ on your server.
 * 4) Edit LocalSettings.php:
 * 5) Specify where you've put Slimbox's css/ and js/ directories with:  (the extension will expect to find the css/ and js/</tt> directories inside there).
 * 6) Supply a default width for your images with:
 * 7) After that, add the usual line to bring in the extension: