diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-03-04 08:32:44 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-03-04 08:32:44 +0100 |
commit | 073b308012994c9c3173474a2180e5fa0b7597e3 (patch) | |
tree | 186a21bab0fb689395a1c0a21427e5a7508f573e | |
parent | 2e53ba7b84145064ed68d5b431b87119614fd2ea (diff) |
Update App::Dthumb documentation
-rwxr-xr-x | lib/App/Dthumb.pm | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/lib/App/Dthumb.pm b/lib/App/Dthumb.pm index a180b0b..20dd983 100755 --- a/lib/App/Dthumb.pm +++ b/lib/App/Dthumb.pm @@ -61,11 +61,11 @@ Valid hash keys are: =over -=item B<help> => I<bool> +=item B<lightbox> => I<bool> -If true, prints a short help message to STDOUT and quits +Include and use javascript lightbox code -Default: false +Default: true =item B<recreate> => I<bool> @@ -87,17 +87,11 @@ maximum image width (see B<size>), 1.1 means slightly larger, et cetera Default: 1.1 -=item B<no-lightbox> => I<bool> - -Do not show include javascript lightbox code - -Default: false - -=item B<no-names> => I<bool> +=item B<names> => I<bool> -Do not show image name below thumbnail +Show image name below thumbnail -Default: false +Default: true =item B<quality> => I<0 .. 100> @@ -105,12 +99,6 @@ Thumbnail image quality Default: 75 -=item B<version> => I<bool> - -If true, prints version information to STDOUT and quits - -Default: false - =back =cut @@ -125,10 +113,10 @@ sub new { $conf{size} //= 200; $conf{spacing} //= 1.1; $conf{title} //= (split(qr{/}, cwd()))[-1]; + $conf{file_index} //= 'index.xhtml'; $conf{dir_thumbs} //= '.thumbs'; $conf{dir_data} //= '.dthumb'; - # helpers to directly pass GetOptions results $conf{lightbox} //= !$conf{'no-lightbox'}; |