From c2ccc508bdccc10febd1c0cc4b12d73a757aae72 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 28 Dec 2016 11:41:37 +0100 Subject: some documentation updates --- lib/App/Dthumb.pm | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) (limited to 'lib/App/Dthumb.pm') diff --git a/lib/App/Dthumb.pm b/lib/App/Dthumb.pm index 3dd76d8..5e6aabe 100755 --- a/lib/App/Dthumb.pm +++ b/lib/App/Dthumb.pm @@ -223,7 +223,6 @@ App::Dthumb - Generate thumbnail index for a set of images help|h size|d=i spacing|s=f - no-lightbox|L no-names|n quality|q=i version|v @@ -231,7 +230,7 @@ App::Dthumb - Generate thumbnail index for a set of images ); my $dthumb = App::Dthumb->new($opt); - $dthumb->run(); + $dthumb->run; =head1 VERSION @@ -239,7 +238,7 @@ This manual documents App::Dthumb version 0.2 =head1 DESCRIPTION -App::Dthumb does all the backend work for dthumb(1). +App::Dthumb does the backend work for dthumb(1). =head1 METHODS @@ -266,12 +265,6 @@ Set name of the html index file Default: F -=item B => I - -Include and use javascript lightbox code - -Default: true - =item B => I If true, unconditionally recreate all thumbnails. @@ -306,24 +299,24 @@ Default: 75 =back -=item $dthumb->read_directories() +=item $dthumb->read_directories Read in a list of all image files in the current directory and all files in F<.thumbs> which do not have a corresponding full-size image. -=item $dthumb->create_files() +=item $dthumb->create_files Makes sure the F<.thumbs> directory exists. Also, if lightbox is enabled (which is the default), creates the F<.dthumb> directory and fills it with all required files. -=item $dthumb->delete_old_thumbnails() +=item $dthumb->delete_old_thumbnails Unlink all no longer required thumbnails (as previously found by B). -=item $dthumb->get_files() +=item $dthumb->get_files Returns an array of all image files found by B. @@ -337,7 +330,7 @@ Load F<$file> and save a resized version in F<.thumbs/$file>. Skips thumbnail generation if the thumbnail already exists and has a more recent mtime than the original file. -=item $dthumb->write_out_html() +=item $dthumb->write_out_html Write the cached HTML data to F. @@ -359,12 +352,11 @@ None yet. =head1 BUGS AND LIMITATIONS -So far, this module is pretty focused on working with dthumb(1). It is -planned to make it somewhat more universal. +To be determined. =head1 AUTHOR -Copyright (C) 2009-2011 by Daniel Friesel Ederf@chaosdorf.deE +Copyright (C) 2009-2016 by Daniel Friesel Ederf@chaosdorf.deE =head1 LICENSE -- cgit v1.2.3