Switch branches/tags
Nothing to show
Find file History

README.md

Gallery plugin 0.7.7

Image gallery with popup. See demo.

Screenshot

How to install plugin

  1. Download and install Datenstrom Yellow.
  2. Download plugin. If you are using Safari, right click and select 'Download file as'.
  3. Copy gallery.zip into your system/plugins folder.

To uninstall delete the plugin files.

How to add a gallery

Create a [gallery] shortcut.

The following arguments are available, all but the first argument are optional:

Pattern = file name as regular expression
Style = gallery style, e.g. photoswipe, simple
Size = image size, pixel or percent

The plugins uses PhotoSwipe v4.1.2 by Dmitry Semenov. It's licensed under MIT license.

How to configure image captions

The image captions can be configured in file system/config/text.ini. You can define the text setting here, for example a short text that is displayed below the image. See example below.

Example

Adding an image gallery:

[gallery photo.*jpg]
[gallery photo.*jpg - 20%]
[gallery photo.*jpg simple 20%]

Adding an image gallery, square thumbnails:

[gallery photo.*jpg - 64]
[gallery photo.*jpg - 150]
[gallery photo.*jpg simple 150]

Adding an image gallery from a subfolder, square thumbnails:

[gallery photo-album/ - 64]
[gallery photo-album/ - 150]
[gallery photo-album/ simple 150]

Defining image captions in your text settings:

photo-1314380.jpg: This is an example caption.
photo-2387365-fika-time.jpg: Fika is an important part of life in Sweden. Photo: Taylor Franz
photo-2391666-start-painting.jpg: Watercolors, brushes and paper. Photo: Tim Arterbury

Developer

Datenstrom featuring Dmitry Semenov. Get support.