Extension:FancyBoxThumbs

MediaWiki extensions manual
OOjs UI icon advanced.svg
FancyBoxThumbs
Release status: unmaintained
Implementation User interface
Description Displays thumbnailed images in a Mac-style "lightbox" that floats overtop of web page.
Author(s) Jason Gill (gilluminatetalk)
Latest version 2.1 (2013-11-26)
MediaWiki 1.17+
Database changes No
License GNU General Public License 3.0 only
Download
  • $fbtFancyBoxOptions
* shadowbox
  • lightbox
  • slimbox
  • fancybox
  • thumbnail
  • preview
  • images
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.

InstallationEdit

  • * Download, extract and place the file(s) in a directory called FancyBoxThumbs in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/FancyBoxThumbs/FancyBoxThumbs.php";
    
  • Configure as required.
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

ConfigurationEdit

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

Example
$fbtFancyBoxOptions = '{"openEffect":"elastic","closeEffect":"elastic","helpers":{"title":{"type":"inside"}}}';

LicensesEdit

This Extension is released under the GPL-3.0-only 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.

TroubleshootingEdit

As always, try purging, refreshing (Ctrl-F5), etc. if it doesn't work.

See alsoEdit