From ea1d01e91689fec7f567ba0f4c2e81429a8ee88b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 26 Jan 2010 16:20:58 +0100 Subject: Add a new constant --- bin/gen-xhtml-thumbnails | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/gen-xhtml-thumbnails b/bin/gen-xhtml-thumbnails index cd40658..dc44ce7 100755 --- a/bin/gen-xhtml-thumbnails +++ b/bin/gen-xhtml-thumbnails @@ -9,6 +9,7 @@ use constant { DEFAULT_FILEMODE => oct(644), THUMB_MAX_DIM => 150, THUMB_QUALITY => 60, + THUMB_SPACING => 1.1, }; my $directory = '.'; @@ -87,8 +88,8 @@ foreach my $file (sort(@files)) { else { printf {$index} ( '
', - THUMB_MAX_DIM * 1.1, - THUMB_MAX_DIM * 1.1, + THUMB_MAX_DIM * THUMB_SPACING, + THUMB_MAX_DIM * THUMB_SPACING, ); } -- cgit v1.2.3