1Core php :
2list($width, $height, $type, $attr) = getimagesize($_FILES["gallery_image"]['tmp_name']);
3
4With Intervention :
5$upload_file = $request->file('gallery_image');
6$height = Image::make($upload_file)->height();
7$width = Image::make($upload_file)->width();
1 $image = getimagesize($request->image);
2 $width = $image[0];
3 $height = $image[1];