Skip to content

FancyBoxThumbs Extension for MediaWiki. Displays thumbnailed images in a Mac-style lightbox that floats overtop of web page.

Notifications You must be signed in to change notification settings

thijskh/FancyBoxThumbs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

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"}}}';

About

FancyBoxThumbs Extension for MediaWiki. Displays thumbnailed images in a Mac-style lightbox that floats overtop of web page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.3%
  • HTML 33.1%
  • CSS 9.3%
  • PHP 8.3%