Reputation: 189
I want to view image from storage path. My image is in storage/app/public folder. How can I view that. My code doesn't show image. Thanks in advance
<img src="{{ storage_path('app/public/image_2018-02-17-21-32-05.png') }}" alt="..." style="">
Upvotes: 0
Views: 341
Reputation: 4813
Run this command;
php artisan storage:link
Then do this,
<img src="{{ asset('public/storage/image_2018-02-17-21-32-05.png') }}" alt="..." style="">
Reference: https://laravel.com/docs/5.6/filesystem#configuration
Upvotes: 3