image class in laravel 8 for reducing image size code example
Example: how get the size of image in laravel
$image = getimagesize($request->image);
$width = $image[0];
$height = $image[1];
$image = getimagesize($request->image);
$width = $image[0];
$height = $image[1];