How to retrieve file from Laravel storage subfolder?
I’m trying to retrieve a file from this path in a laravel project: /storage/app/public/blog/3.jpg These approaches produce following errors: 1. $image = Storage::disk(‘public’)->get(‘/storage/blog/3.jpg’); -> local.ERROR: File not found at path: storage/blog/3.jpg {"userId":16,"exception":"[object] (Illuminate\\Contracts\\Filesystem\\FileNotFoundException(code: 0): File not found at path: storage/blog/3.jpg at /Users/artur/PhpstormProjects/safa-ameedee.com/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php:171) [stacktrace] $image = Storage::disk(‘public’)->get(‘/storage/app/public/blog/3.jpg’); $image = Storage::get(‘/storage/app/public/blog/3.jpg’); -> local.ERROR: File not found at… Read More How to retrieve file from Laravel storage subfolder?