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
$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.
- GD version : GD not present
$ 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! =D