Ok, i'm able to create a thumbnail using this :
<?
$new_w=100;
$new_h=100;
header("Content-type: image/jpeg");
$dst_img=ImageCreate($new_w,$new_h);
$src_img=ImageCreateFromJpeg("aoi/4343.jpg");
ImageCopyResized($dst_img,$src_img,0,0,0,0,$new_w,$new_h,ImageSX($src_img),ImageSY($src_img));
ImageJpeg($dst_img);
ImageDestroy($dst_img);
ImageDestroy($src_img);
?>
But, when i try to ex. perform a do{}while() on this, it outputs alot of bogus, and if i try to use the function again below this snippet with another picture, it only outputs the first...
Does anyone got some tips for me ?
Sincerly
Odd Rune