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;