Mini with Lightbox
Use the Mini gallery with Lightbox instead of Ultralightbox.
This recipe enables Lightbox for Mini. Lightbox is a slideshow similar to Ultralightbox, but has a slightly different look and feel and a few more configuration options. Lightbox is built on the Prototype library.
Lightbox was previously bundled with Mini, but from version 20110817, Mini comes with the Ultralightbox slideshow which is simpler and much smaller than Lightbox. The recipe is for users who prefer this package instead of the (new) default one.
You need a working Mini installation version 20110817 or newer. This recipe is a plugin for Mini.
- Get mini-lightbox.zipΔ (alt. download: mini-lightbox.zip).
- Copy the folder "lb" to your pmwiki/pub directory.
- Add to local/config.php these lines:
$Mini['LbUrl'] = '$FarmPubDirUrl/lb'; $Mini['LbFiles'] = array('lightbox-plus-jquery.min.js', 'mini-lightbox.js', 'lightbox.min.css', 'mini-lightbox.css');
The recipe has the following parameters in config.php:
$Mini['EnableLightbox'] = 1;this variable works the same way as with Ultralightbox, see Mini. It can be 1, 2 or 3.
The recipe requires Mini version 20181115 or newer.
Change log / Release notes
- 20181115 update for Mini 20181115 and to Lightbox 2.10, note that it has switched from Prototype to jQuery and both the installation code changed and most files in the "lb" directory.
- 20110824 distinct MiniLightboxOptions block for easier configuration.
- 20110817 first release as a recipe split from the Mini distribution.
- Mini Simple, lightweight, un-bloated gallery with thumbnail generator
- Mini with Fancybox Fancybox jQuery slideshow for the Mini gallery
- Mini with Galleria Galleria carousel/slideshow for the Mini gallery
This PmWiki recipe is written and maintained by Petko (5ko [snail] 5ko [period] fr). Lightbox  and its underlying libraries are written by a number of people. See the source files for authors and free software licenses.
- If this recipe helps you or saves you time, you can help support its continued development by ♥ .