Image not displaying in view. Laravel
This may be caused you are in a route which does not represent the base URL. You should generate the URL for your assets relative to the public/
folder. Use URL::asset('path/to/asset')
to generate the URL.
{{ URL::asset("images/users/{$follower->id}/profilePictures/50thumb-{$follower->profilePicture->url}") }}
Or as @lukasgeiter mentioned you can simply use asset('path/to/asset')
helper.
You can try with the
php artisan storage:link
else you can use this
A simple fix for the issue (linked broken error)
in .env
file
APP_URL=http://localhost
this replace with the
APP_URL=http://localhost:8000
then the issue will be fixed.