Skip to content

Commit

Permalink
Update ShopController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
OhmygoodR authored Feb 14, 2024
1 parent 3faf271 commit 503600c
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 @@ -19,7 +19,7 @@ public function store(Request $request)

// Image::make(storage_path('app/shops/'.$filename))->resize(500,500)->save(storage_path('app/shops/resized-'.$filename));

$image=ImageManager::imagick()->read(storage_path('app/shops/'.$filename));
$image=ImageManager::read(storage_path('app/shops/'.$filename));
$image->resize(500,500);
$image->save(storage_path('app/shops/resized-'.$filename));

Expand Down

0 comments on commit 503600c

Please sign in to comment.