Skip to content
A Foswiki gallery plugin for JPEG photos from digital cameras.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
lib/Foswiki/Plugins
pub
templates
test/unit/PhotoGalleryPlugin
tools
.gitignore
NOTES
README.md
TIDY

README.md

PhotoGalleryPlugin

A Foswiki gallery plugin for JPEG photos from digital cameras.

This plugin renders galleries from photos attached to topics. Galleries render as a grid of square thumbnails. Thumbnails are created using the Epeg (https://github.com/mattes/epeg) library ("insanely fast JPEG thumbnail scaling") via the Image::Epeg (https://metacpan.org/pod/Image::Epeg) Perl module. Clicking on a thumbnail zooms the image to the original attached photo. Currently PhotoSwipe (http://photoswipe.com) by Dmitry Semenov is used to display the photos. It allows zooming and browsing the image gallery with the keyboard, the mouse and finger swipes on touch devices. This plugin adds a slideshow functionality not currently present in the original PhotoSwipe gallery. The thumbnails expose a tools menu by hovering over their top right corner. Available tools include losslessly rotating the photo using exiftran (https://www.kraxel.org/blog/linux/fbida/), editing the attachment comment, correcting the attachment timestamp to the photo exposure date, moving the attachment to another topic, and deleting the attachment.

This plugin works only with JPEG images and it works best with photos from digital cameras that have EXIF data embedded. It can display PNG, GIF and SVG graphics as well.

A PatternSkin extension that replaces the default upload form with a bulk upload form is included, too. This is currently based on DropZoneJS (http://www.dropzonejs.com) by Matias Meno.

See the file data/System/PhotoGalleryPlugin.txt for the full documentation.

PhotoGalleryPlugin Screenshot

You can’t perform that action at this time.