Problem with resize

See all posts See thread Reply

Re: Problem with resize new!
by colin, 6 years ago
You cannot use image_y with image_ratio_yReply
Re: Problem with resize new!
by Marco A. Braghim, 6 years ago
Sorry, I forget to remove that before send it to you. That's right, I even try as follow, and whatever way you can imagine too kkkk

$upload->file_auto_rename = false;
$upload->file_overwrite = true;
$upload->image_convert = 'png';
$upload->image_resize = true;
$upload->image_ratio_y = true;
$upload->image_x = 1280;

It doesnt converting the image to png too =/

It's just not working, and I'll check if olders versions are not working too.Reply
Re: Problem with resize new!
by colin, 6 years ago
I see. But it seems that the image is not processed because GD is not present on your system:
- GD version : GD not presentReply
Re: Problem with resize new!
by Marco A. Braghim, 6 years ago
Yeah! That really solved the problem!

$ sudo aptitude install php7.2-gd
$ sudo phpenmod gd
$ sudo service apache2 restart

Thank you very much dude, you and your upload class are awesome! =DReply