From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg

Release status:Extension status stable

ImplementationTemplate:Extension#type User interface
DescriptionTemplate:Extension#description Displays thumbnailed images in a Mac-style "lightbox" that floats overtop of web page.
Author(s)Template:Extension#username Jason Gill (gilluminatetalk)
Latest versionTemplate:Extension#version 2.1 (2013-11-26)
MediaWikiTemplate:Extension#mediawiki 1.17+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 3.0 only
  • $fbtFancyBoxOptions
* shadowbox
  • lightbox
  • slimbox
  • fancybox
  • thumbnail
  • preview
  • images
Hooks usedTemplate:Extension#hook

Translate the FancyBoxThumbs extension if it is available at translatewiki.net

Check usage and version matrix.

The FancyBoxThumbs extension displays thumbnailed images in a Mac-style "lightbox" that floats overtop of web page. This can create a more user friendly environment, where the user doesn't leave the page every time they click a thumbnail.

Version 2.0[edit source]

Licenses[edit source]

This Extension is released under the GPLv3 license.

This project includes fancyBox JQuery Extension which is licensed under Creative Commons Attribution-NonCommercial 3.0 license. You are free to use fancyBox for your personal or non-profit website projects. You can get the author's permission to use fancyBox for commercial websites by paying a fee.

Installation[edit source]

  1. Download the .zip file (or git clone https://github.com/gilluminate/FancyBoxThumbs.git)
  2. Extract the files to your extensions directory
  3. Add to the end of LocalSettings.php:
    require_once "$IP/extensions/FancyBoxThumbs/FancyBoxThumbs.php";
  4. Installation can now be verified through Special:Version on your wiki

Configuration[edit source]

You can set fancyBox options by setting a $fbtFancyBoxOptions variable in LocalSettings.php after setting the require_once above.

require_once "$IP/extensions/FancyBoxThumbs/FancyBoxThumbs.php";
$fbtFancyBoxOptions = '{"openEffect":"elastic","closeEffect":"elastic","helpers":{"title":{"type":"inside"}}}';

Known issues[edit source]

See also[edit source]