summaryrefslogtreecommitdiff
path: root/bin/gen-xhtml-thumbnails
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gen-xhtml-thumbnails')
-rwxr-xr-xbin/gen-xhtml-thumbnails5
1 files 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} (
'<div style="float: left; width: %dpx; height: %dpx">',
- THUMB_MAX_DIM * 1.1,
- THUMB_MAX_DIM * 1.1,
+ THUMB_MAX_DIM * THUMB_SPACING,
+ THUMB_MAX_DIM * THUMB_SPACING,
);
}