I want to save my images that modified by image intervention in storage folder in my Laravel project.
Storage::put() this works fine and saves images in storage folder (my local OS is windows 10), but not working in server OS(CentOS 8).
storage folder permissions is 755 i've tried 777 but not worked too.
Here is my code:
$filename = basename($request->tutorialImage);
$image = Image::make($request->tutorialImage)->resize(300, 400);
$image->stream();
Storage::disk('local')->put('files/shares/resizedImages/' . $filename . '-' . 300 . '-' . 400. '.jpg', $image);
I've already ran command php artisan storage:link too.