Reputation: 33
How can i access public folder image? I imported a folder from the internet and it is not letting me implement the codes. I am not seeing the folder images, what is the mistake?
Upvotes: 3
Views: 29
Reputation: 174
You can access the public folder imported in your laravel by using:
asset() method in your blade, for example
<img src="{{ asset('img.jpg') }}" alt="">
Upvotes: 2