Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2.36 KB

README.mediawiki

File metadata and controls

42 lines (30 loc) · 2.36 KB

Table of Contents

Overview

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.

Example

Version 2.2

The JS code was largely rewritten by Thijs Kinkhorst based on the approach in SlimBoxThumbs version 2014-04-01, which is copyright Vitaliy Filippov, GNU GPL 3.0 or later. This is to incorporate adequate scaling of the displayed images.

Version 2.0

Licenses

This Extension is released under the GPLv3 license.

This project includes fancyBox JQuery Extension fancyBox 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

  1. Download the .zip file
  2. Extract the files to your extensions directory
  3. Rename gilluminate-FancyBoxThumbs-xxxxxx to FancyBoxThumbs
  4. Add to the end of LocalSettings.php:
    require_once("$IP/extensions/FancyBoxThumbs/FancyBoxThumbs.php");
  5. Installation can now be verified through Special:Version page on your wiki

Options

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

For example:

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