Heya Small problem here.
I tried to resize quite some picures with the following function:
function resizejpg($imagefile)
{
$src_img = imagecreatefromjpeg($imagefile);
$new_w = "35";
$new_h = "35";
$dst_img = imagecreate($new_w,$new_h);
imagecopyresized($dst_img,$src_img,0,0,0,0,$new_w,$new_h,imagesx($src_img),imagesy($src_img));
imagejpeg($dst_img,"kl_$imagefile");
ImageDestroy($src_img);
ImageDestroy($dst_img);
}
Works fine for one - five images in a while expression. But as soon as I have more than
5 images to resize the system just doesnt do anything (no error just a timeout after 300 secs)
We have a WinNT Server with php4 installed
We also increased the memory_limit to 16 MB but nothing happend. (just 5 images to go)
any suggestions ?
Thanks
Torty