dthumb - Generate Thumbnails + Index for a set of images
dthumb [options]
This manual documents dthumb version 0.2
dthumb will create an index.xhtml with a list (thumbnails) of all images found in the current directory; the thumbnails will link to the images.
It uses a javascript lightbox (see <http://www.huddletogether.com/projects/lightbox/>) to display the images. To view them without the lightbox, either disable it using the -L option or open images by clicking on the filename instead of the thumbnail.
Note that recursion is not yet supported.
During operation, dthumb will show its progress on STDERR.
Disable Javascript lightbox. Note that in the current implementations, this simple skips installation of the data files. The lightbox link in the HTML will still be written, leading to 404s on the server. This will be fixed.
Do not show image names below thumbnails
Recreate all thumbnails
Maximum thumbnail size (either width or height). Defaults to 200
Use float as spacing factor. The size of each image element (image + possible border around it) is the number of pixels (see --size) times float. So for 1.1 you have a small border around each image, for 1.0 you have no border at all, etc.
Defaults to 1.1
Set HTML document title. Defaults to the basename of the current directory
Set thumbnail quality. Accepts values between 0 and 100, where 100 is the highest possible quality. Default is 75
Zero upon success, non-zero otherwise.
None.
dthumb always works in the current working directory. It will create the file index.xhtml, in which the HTML code for the thumbnail list is saved.
It also creates two directories: .thumbs for the thumbnail images, and .dthumb, which contains various data (so far icons and javascript code).
autodie (Included in core as of perl 5.10.1)
Data::Section
Image::Imlib2
Time::Progress
Report issues either by mail to <derf@chaosdorf.de> or on <http://github.com/derf/dthumb/issues>.
Copyright (C) 2009-2011 by Daniel Friesel <derf@chaosdorf.de>.
The lightbox code is (C) by Lokesh Dhakar <http://www.huddletogether.com/projects/lightbox/>.
0. You just DO WHAT THE FUCK YOU WANT TO
To install App::Dthumb, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Dthumb
CPAN shell
perl -MCPAN -e shell install App::Dthumb
For more information on module installation, please visit the detailed CPAN module installation guide.