I have some images saved and uploaded in the storage folder, I have created a link and the storage folder is accesible from the public folder. When I try to load the image using this code:
<img class="" style="width:100%" src="{{ asset('storage/Ad_Images/'.$adphoto->name ) }}" alt="Photo">
This is what the Chrome dev tools show
It should load but it looks like the image is there but something blocks it, if I click on the link in the image provided the browser shows the image
2
Answers
You can’t display images from storage directory. This is protected directory. If you want to display images on browser store images in public folder.
It looks like blocked by AdBlock.
The solution is to remove from directory’s name “Ad”.