Simon: Bilder auslesen und darstellen

Beitrag lesen

Juhuu ich habs geschafft. ich habs nun so gelöst!

<html><head><title>Bilderanzeige</title>  
<body style="background-color:#CCCCCC">  
<div style="width:700px; height: 400px; overflow:auto; font-family: Arial; font-size: 12px; color:#ffffff; background:transparent;" align="justify">  
<div style="width:10000px; height:370px; margin-left:7px;" >  
<style type="text/css">  
.scrollimg {  
border-width:3px;  
border-color:#ffffff;  
border-style:solid;  
margin-top:10px;  
margin-left:10px;  
margin-right:10px;  
}  
img.horizontal {  
width: 500px;  
height:350px;  
}  
img.vertical {  
width: 300px;  
height:350px;  
}  
</style>  
<?PHP  
$verz = opendir('.');  
while($file = readdir($verz))  
{  
$info = @getimagesize($file);  
if($file != "." && $file != ".." &&  !is_dir($file) && $file != "bildanzeige.php")  
{  
echo "<img src=\"".$file."\" float=\"left\">";  
}  
}  
closedir($verz);  
?>  
</div>  
</div>  
</body></html>

Vielen Dank für Eure hilfe.

lg