-
Book Overview & Buying
-
Table Of Contents
MediaWiki Skins Design
By :
We can also use a functionality provided by LightBox to allow thumbnail images within our wiki to be opened within the page.
Lightbox 2 comes to our rescue here yet again, alongside the LightboxThumbs MediaWiki extension (http://www.mediawiki.org/wiki/Extension:LightboxThumbs).

Installing LightboxThumbs is quite simple. You need to follow these steps:
Save the LightboxThumbs.php file in the extensions directory of your MediaWiki installation. The file is provided on the Extensions page on MediaWiki.org.
Inform MediaWiki that you are expecting the LightboxThumbs extension to be present by adding the code requires_once("$IP/extensions/LightboxThumbs.php") to your LocalSettings.php file.
Install Lightbox.
We should now be able to see a larger version of images and photographs uploaded on our wiki when we click on the thumbnail version of images embedded within our wiki's content:

Change the font size
Change margin width
Change background colour