dthumb - Generate file index with thumbnails for a directory.
dthumb [-anrR] [-d size] [-s spacing] [-t title] [-q quality]
version 0.2
dthumb creates an HTML index with thumbnails for all images found in the current directory. It uses a javascript lightbox (see http://fancyapps.com/fancybox/) to display images. To view them without the lightbox, open images by clicking on the filename instead of the thumbnail.
During operation, dthumb will show its progress on STDERR.
Also include non-image files in the file listing
Do not show image names below thumbnails
Recreate all thumbnails
Include directories in file listing and recurnsively generate thumbnails for their contents.
Set maximum thumbnail size. Both width and height will be limited while preserving aspect ratio. Thumbnails are created at 2x resolution and downscaled via HTML tags to accomodate high-DPI displays.
Use float as spacing factor. The size of each image element (image + 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.
Set HTML document title. Defaults to the basename of the current directory
Include file contents in the generated HTML, right after the opening div tag.
Set thumbnail quality. Accepts values between 0 and 100, where 100 is the highest possible quality.
Zero upon success, non-zero otherwise.
None.
dthumb always works in the current working directory. It will create the file index.html, in which the HTML code for the thumbnail list is saved.
It also creates two directories: .thumbs for the thumbnail images, and .dthumb for CSS and lightbox code.
Report issues either by mail to <derf@chaosdorf.de> or on <http://github.com/derf/dthumb/issues>.
Copyright (C) 2009-2016 by Daniel Friesel <derf@chaosdorf.de>.
The lightbox code is (C) by J0101nis Skarnelis under the license CC-BY-NC 3.0. See http://fancyapps.com/fancybox/.
For this program:
0. You just DO WHAT THE FUCK YOU WANT TO
For the lightbox code (part of the generated HTML):
CC-BY-NC 3.0