Skip to content

Kirby 2 CMS plugin for responsive image galleries / collages

License

Notifications You must be signed in to change notification settings

bkry-code/kirby-collage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kirby Collage

This plugin provides a gallery Kirbytext tag for Kirby 2 CMS implementing the collage image galleries of Collage Plus

Installation

  1. Download Kirby Collage
  2. Copy the site/plugins/gallery directory to site/plugins/
  3. Copy the assets/gallery directory to assets/
  4. Add CSS link to your header:
// site/snippets/header.php
echo css('assets/gallery/gallery.css');
  1. Add the following JS links to your header:
// site/snippets/header.php
echo js('//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'); // if jQuery isn't included already
echo js('assets/gallery/jquery.collagePlus.min.js');
echo js('assets/gallery/gallery.js');

Usage

Use (gallery: IMAGENAME|IMAGENAME|IMAGENAME) inside your Kirbytext:

(gallery: forrest.jpg|IMG_673.jpg|lake.png)

You can also use the following for a gallery of all images of that page:

(gallery: all)

You can also use the following for a gallery of all images EXCEPT THE FIRST of that page:

(gallery: all-nofirst)

About

Kirby 2 CMS plugin for responsive image galleries / collages

Resources

License

Stars

Watchers

Forks

Packages

No packages published