NAME

gallery.pl - very basic image gallery script

SYNOPSIS

gallery.pl --out DIR [--tmpl TEMPLATE]
  [--width PIXELS] [--height PIXELS] [--title TITLE] IMAGE...

DESCRIPTION

gallery.pl creates basic image galleries. Pass an output directory and a list of images to the script. The images will be hard linked into the directory (or copied if hard linking fails), then thumbnails will be created for the images, and finally an index.html file linking to all the images will be created in the directory.

OPTIONS

--out path

Directory to create everything in. Created if it does not exist. Mandatory.

--tmpl template

Path to template file, in HTML::Template::Compiled format.

--width width

Maximum width of thumbnails, in pixels. Defaults to 600.

--height height

Maximum height of thumbnails, in pixels. Defaults to 600.

--title title

Title of HTML page. Defaults to 'Gallery'.

AUTHOR

Marius Gavrilescu, <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2017 by Marius Gavrilescu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.