scale image in laravel 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];