diff --git a/index.php b/index.php index a4284fa..36ec90f 100755 --- a/index.php +++ b/index.php @@ -408,14 +408,14 @@ if (is_dir($current_dir) && $handle = opendir($current_dir)) { "name" => $file, "date" => filemtime($current_dir . "/" . $file), "size" => filesize($current_dir . "/" . $file), - "html" => " + "html" => '
  • - - " . padstring($file, 20) . " + + ' . padstring($file, 20) . ' - $file - $filename_caption -
  • "); + '.$file.' + '.$filename_caption.' + '); } } } @@ -561,7 +561,10 @@ if ($i < 0) { } for ($y = $i; $y < $nbFile; $y++) { - $page_navigation .= ""; + if(empty($img_captions[$files[$y]['name']])){ + $img_captions[$files[$y]['name']] = $files[$y]['name']; + } + $page_navigation .= ''; } //----------------------- diff --git a/templates/kt.html b/templates/kt.html index 33485d9..c60ef71 100644 --- a/templates/kt.html +++ b/templates/kt.html @@ -78,10 +78,12 @@ position:relative; overflow:hidden; padding : 0.3em; + max-width : 320px; + height: 320px; + vertical-align: top; } #gallery li img { width:100%; - max-width : 320px; } #gallery em { display:block;