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.
more info about the class
See all posts See thread Reply
$handle->image_resize = true; if($handle->image_src_x > $handle->image_src_y){ $handle->image_ratio_x = true; $handle->image_y = 240; } else { $handle->image_ratio_y = true; // I added _y here $handle->image_x = 320; } $handle->Process(....);
If that is not the problem, can you paste here the full log for the three processes?