Gallery

Hier mal ein paar Bilder von mir:

= $src_height) { $new_image_width = $img_width; $new_image_height = $src_height * $img_width / $src_width; } if($src_width < $src_height) { $new_image_height = $img_width; $new_image_width = $src_width * $img_height / $src_height; } $new_image = imagecreatetruecolor($new_image_width, $new_image_height); imagecopyresampled($new_image, $image, 0, 0, 0, 0, $new_image_width,$new_image_height, $src_width, $src_height); imagejpeg($new_image, $des_src."/".$img_src, 100); } $filename = $_SERVER['index.php']; $verz=opendir($folder_scr); $linkl = array (); while ($file = readdir ($verz)) { if($file != "." && $file != ".." && $file != $filename) { array_push ($linkl, "$file"); } } $anzahl = count($linkl); sort ($linkl); $i=0; foreach($linkl as $key => $value) { if(!file_exists($des_src."/".$value)) { // erstelle ein thumb mkthumb($value, $thumbx, $thumby, $folder_scr, $des_src); } if($i==2){ echo "
"; $i=0; }else{ echo " "; } $i++: echo "
".$value."

 "; } closedir($verz); ?>