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.
When I try to upload a png image with a transparent background I get error 400. I look for the problem in the code, but it appear correct. I wait for an answer. Thank you.Reply
$img->file_new_name_body = $id; $img->image_convert = png; $img->image_resize = true; $img->image_y = 1000; $img->image_x = 1000; $img->image_ratio = true; $img->Process('../../../prodotti/esempi/');