Topic: Simple gallery
Well, I've been playing with monstra and have changed this plugin quite a lot.
Using snippets or blocks along with a folder full of images you are able to create galleries such as a slideshow, lightbox, portfolios...
I have created some simple demos to give direction on the plugin's use.
Plugin: https://github.com/mightyhaggis/simple-gallery
Demos: http://www.mightyhaggis.com/blog/simple-gallery
Hello,
I am new to Monstra so thought the best way to figure out how it works was to create a plugin.
First I must say thanks to Awilum for creating such a great CMS.This is purely front end, there is no script to manage the images. Though for myself I have tweaked Monstra's File Manager to automatically create thumbnails when images are uploaded.. I guess that's a basic manager of sorts.
Usage:
The plugin scans the specified folder in /public/uploads/ to to create the gallery, there needs to be a folder called thumb/ containing the thumbnails of the images in the parent folder (thumbnail name matches image name)
3 blocks needed to be created in Monstra.
1 to contain the gallery wrapper template
1 which is used for each image
1 to use as a break in the gallery (optional) e.g. if after every 4 images you need a new row
The name of the relevant blocks is set via the shortcode or php call
Details of use and shortcodes are in the readme.md, I would upload images but there aren't really any as you specify the presentation via the blocks.
Hopefully this first foray into Monstra Plugins/ contribution is of some use.. as you don't always need a full blown gallery app.
Feedback welcome.