0, "Bilder leider nicht verfügbar!"); $currIndex = intval( $_GET["index"] ); if( $currIndex < 0 ) $currIndex = 0; if( $currIndex >= $imgSize) $currIndex = $imgSize-1; $imgInfos = array(); foreach( $imgList as $imgName ){ array_push( $imgInfos, getimagesize("thumbs/".str_replace(".jpg", ".png", $imgName))); } ?>