|
Cookbook /
Mini with GalleriaSummary: Galleria carousel/slideshow for the Mini gallery
Version: 20111113
Prerequisites: Mini version 20110817 or newer
Status: beta
Maintainer: Petko
Discussion: MiniGalleria-Talk?
![]() DescriptionUse the Mini gallery with Galleria carousel instead of Ultralightbox. This recipe enables Galleria for Mini. Galleria is a carousel/slideshow which displays the larger pictures in a compact form, with a trail of thumbnails below. Demo. InstallationYou need a working Mini installation version 20110817 or newer. This recipe is a plugin for Mini.
ConfigurationYou can create different Galleria themes: copy the files from galleria/themes/classic to a new directory and modify them. As an example, a 'classic-white' theme with white backgrounds is provided. To use it, in the installation line, instead of 'themes/classic/galleria.classic.min.js' use 'themes/classic-white/galleria.classic.min.js'
You can change the default Galleria options at the beginning of the file pub/galleria/mini-galleria.js. Refer to http://galleria.aino.se/docs/1.2/options/ for the different options. UsageIn a wiki page, you need to wrap your Mini thumbnails in a Set a Galleria with the default options: >>Galleria<< Mini:* >><< You can have different Mini sets in one Galleria: >>Galleria<< Mini:a*.jpg Mini:OtherPage/*.jpg >><< You can set individual Galleria options to each block. Add the options in the >><< block, with KEY_VALUE pairs glued with _: transition:fade, autoplay:2000 milliseconds, width:100% >>Galleria transition_fade autoplay_2000 width_100pct<< Mini:* >><< Note that the keys are glued to the values with the underscore character, and there are no quotes, columns or commas. Refer to http://galleria.aino.se/docs/1.2/options/ for the different options and adapt them to the above KEY_VALUE format. Notes
Change log / Release notes
See also
ContributorsThis PmWiki recipe is written and maintained by Petko. Galleria is written by Aino, it is based on the jQuery library. CommentsSee discussion at MiniGalleria-Talk? UpdateMe there is a newer version User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |