From: Marc MAURICE Date: Thu, 7 Oct 2010 20:42:13 +0000 (+0200) Subject: added THUMB_SIZE config option X-Git-Tag: v1.0~14 X-Git-Url: http://positon.org/gitweb/?a=commitdiff_plain;h=8e0575b0a30e79978f85a35cc73b5bca65924014;p=bizou.git added THUMB_SIZE config option --- 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;