Hi,
I let users upload images to my website, but sometimes they upload huge resolution images.
So I want to resize these images after upload.
Just for beggining I use this code:
$original = File::get()->byID($file->ID);
$file720 = $original->SetRatioSize(720,720);
$file720->write();
But this code creates resized copy of image.
How to make resized image as original image?
Thanks to all :)