Mar 24, 2014 in Lightbox 2925 views
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.
require_once("$IP/extensions/FancyBoxThumbs/FancyBoxThumbs.php");
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"}}}';
Tagged with:
fancyboxthumbs
mac-style lightbox
lightbox
dialog
fancybox
thumbnail images
overtop
popup
gallery
slideshow
Related Articles