giovanniciriello
4 years ago
517
2
Laravel

"Not allowed to load local resource" showing images in 'storage' folder

Posted 4 years ago by giovanniciriello

Hi. I have to show static images that are placed in storage/app/gallery. But i really can't anyway get a correct url for this image. Trying with: {{ public_path().'/laravel/storage/app/gallery/'.$fileName }} or {{ public_path('/laravel/storage/app/gallery/'.$fileName) }} it appear this strange error: Not allowed to load local resource: file:///C:/xampp/htdocs/........... I'm using xampp on windows, help me

Please sign in or create an account to participate in this conversation.