Gallery perl module for nginx. Like simple file index
but thumbnail replace default icon for image.
= DESCRIPTION
This module not for production servers! But for single user usage.
Gallery don`t use nginx event machine, so one nginx worker per connect
(typically 8) used for slow create icons!
All icons cached on first request. Next show will be more fast.
= EXAMPLES
You can show nginx configuration files examples in conf directory
= INSTALLATION
1. Get from
https://github.com/rshadow/gallery
2. Use examples in "conf" directory to configure nginx
3. Create cache directory and set ngnix can write to it. For example
/var/cache/gallery ($CACHE_PATH variable)
= MEDIA
Icon get from Gnome project (
http://gnome.org):
It was downloaded from
http://ftp.gnome.org/pub/GNOME/sources/gnome-themes/
Upstream Authors:
Bill Haneman <
[email protected]>
Jakub Steiner <
[email protected]>
Suzanna Smith <
[email protected]>
Calum Benson <
[email protected]>
Seth Nickell <
[email protected]>
and Human icon theme:
Upstream Author:
Nathaniel McCallum <
[email protected]>
Jeff Waugh <
[email protected]>
Daniel Holbach <
[email protected]>
Copyright:
Copyright 2004-2006 Canonical Ltd.
http://www.ubuntu.com/ubuntu/TrademarkPolicy
= AUTHORS
Copyright (C) 2011 Dmitry E. Oboukhov <
[email protected]>,
Copyright (C) 2011 Roman V. Nikolaev <
[email protected]>
= LICENSE
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along
with this program. If not, see <
http://www.gnu.org/licenses/>.
= DEBIAN
On Debian/Ubuntu systems you need install packages:
nginx-extras (this package include ngx_http_perl_module)
libmojolicious-perl, libmime-types-perl, libfile-path-perl,
ffmpegthumbnailer, imagemagick, liburi-encode-perl