summaryrefslogtreecommitdiffstats
path: root/generate_gallery.pl
diff options
context:
space:
mode:
Diffstat (limited to 'generate_gallery.pl')
-rwxr-xr-xgenerate_gallery.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_gallery.pl b/generate_gallery.pl
index 0d3996c..4fcdc60 100755
--- a/generate_gallery.pl
+++ b/generate_gallery.pl
@@ -52,7 +52,7 @@ for my $dir (@ARGV) {
}
unless ( -e "$abs_dir/thumbs/$file") {
- print "processing $dir/$file ...\n";
+ print "processing $dir/$file ...\n" if $opts{verbose};
my $img = new Image::Magick;
$img->Read("$abs_dir/$file");
$img->Thumbnail(geometry=>$opts{thumbnailsize}."x".$opts{thumbnailsize});