class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I even have access to the php.ini via cpanel and it is currently set as 256M memory limit, so even if my ini_set calls are not working it should be fine.
However, I tried the exact same image on FF and it doesn't work. so it's the image that's the problem. it's a .jpg, file size is about the same as the one that works, but the pixel size is very different.
I even have access to the php.ini via cpanel and it is currently set as 256M memory limit, so even if my ini_set calls are not working it should be fine.
However, I tried the exact same image on FF and it doesn't work. so it's the image that's the problem. it's a .jpg, file size is about the same as the one that works, but the pixel size is very different.
The processing I am using is:
$handle1->no_script=false; $handle1->mime_check=false; $handle1->mime_magic_check=false; $handle1->file_auto_rename=false; $handle1->file_overwrite= true; if ($handle1->image_src_x > 1600 || $handle1->image_src_y > 1600) { $handle1->image_resize=true; $handle1->image_ratio=true; $handle1->image_x=1600; $handle1->image_y=1600; $handle1->jpeg_quality=95; }So wonder if this is causing the problem?
Thanks for your help here.
Cheers, Dan