Skip to content

Commit

Permalink
Update ShopController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DonaldFon authored Aug 17, 2024
1 parent a6a5b60 commit a37ba5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ShopController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit a37ba5c

Please sign in to comment.