From c6559974de52967619ee54d02846f71550fdb3e5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 24 Dec 2009 13:34:41 +0100 Subject: gen-xhtml-thumbnails: Produce a little more ordered output --- include/gen-xhtml-thumbnails | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/gen-xhtml-thumbnails b/include/gen-xhtml-thumbnails index 95d3f08..7b25023 100755 --- a/include/gen-xhtml-thumbnails +++ b/include/gen-xhtml-thumbnails @@ -63,7 +63,12 @@ foreach my $file (sort(@files)) { my $image = Image::Imlib2->load($file); my $thumb; - print $index "\"$file\"\n"; + printf {$index} ( + '
', + THUMB_MAX_DIM * 1.1, + THUMB_MAX_DIM * 1.1, + ); + print {$index} "\"$file\"
\n"; print_progress; $number++; -- cgit v1.2.3