Error 400 with png

See all posts Reply

Error 400 with png new!
by Claudio, 11 years, 5 months ago
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
Re: Error 400 with png new!
by colin, 11 years, 5 months ago
400 errors seem to indicate an issue in your app, rather than in the upload code. What does the class log say?Reply
Re: Error 400 with png new!
by Claudio, 11 years, 5 months ago
Excuse me I forgot the code:
$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/');
Reply