From 8e0575b0a30e79978f85a35cc73b5bca65924014 Mon Sep 17 00:00:00 2001 From: Marc MAURICE Date: Thu, 7 Oct 2010 22:42:13 +0200 Subject: [PATCH] added THUMB_SIZE config option --- index.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index 788773b..b5db265 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,8 @@ $file, "url" => getPreview("$realDir/$file", 100), "link" => dirname($scriptUrlPath)."/view/$shortPath/$file" ); + $imageFiles[] = array( "name" => $file, "url" => getPreview("$realDir/$file"), "link" => dirname($scriptUrlPath)."/view/$shortPath/$file" ); else $otherFiles[] = array( "name" => $file, "link" => dirname($scriptUrlPath)."/$realDir/$file" ); } @@ -101,8 +103,8 @@ img { } .image { - width: 100px; - height: 100px; + width: px; + height: px; display: table-cell; text-align: center; vertical-align: middle; -- 1.7.10.4