diff --git a/app/Http/Controllers/ShopController.php b/app/Http/Controllers/ShopController.php index b168711d..9bbdeea1 100644 --- a/app/Http/Controllers/ShopController.php +++ b/app/Http/Controllers/ShopController.php @@ -16,7 +16,7 @@ public function store(Request $request) // to size of 500x500 and store it as /storage/app/shops/resized-$filename // Use intervention/image package, it's already pre-installed for you // Image::make(storage_path('/app/shops/').$filename)->resize(500,500)->save(storage_path('/app/shops/resized-').$filename); - // Image::make('storage/app/shops/'.$filename)->resize(500,500)->save('storage/app/shops/resized-'.$filename); + Image::make('storage/app/shops/'.$filename)->resize(500,500)->save('storage/app/shops/resized-'.$filename); return 'Success'; }