|
@@ -23,7 +23,7 @@ class UploadController extends Controller
|
|
|
|
|
|
$filePath = $request->file('image')->getRealPath();
|
|
|
|
|
|
- if (in_array($kuoname, ['jpg', 'jpeg', 'png'])) {
|
|
|
+ if (in_array($kuoname, ['jpg', 'jpeg','png'])) {
|
|
|
$width = Image::make($filePath)->width();
|
|
|
$height = Image::make($filePath)->height();
|
|
|
|