$caricatures = "images/caricatures/partysketches";
$dir = opendir($caricatures);
while($filename = readdir($dir))
{if (filetype($caricatures."/".$filename) == "file" && $filename != "Thumbs.db" && $filename != "index.php"){echo '
';}}
closedir($dir);
?>