DEV Community

Chidiebere Chukwudi
Chidiebere Chukwudi

Posted on • Updated on • Originally published at


[Solved] laravel storage:link not working


Pheeew... after hours of searching the internet to solve this problem, I found an answer to this via stackoverflow but wait...

Guess you are trying to get an image from your storage folder in your laravel app but take note of the following:

Make sure you run php artisan storage:link: it creates a symbolic link in the public folder.

If you are coming from laravel 8.x and have indeed ran the command php artisan storage:link (to create a symbolic link ), but your code is not working i.e the file you are trying to load is not displaying, then you are like me.


Just like awais ahmad from stack overflow mentioned, this solution proved helpful for my laravel 8x project.

I have not added the "storage" path name from my blade file with the asset helper function so my image path was not outputing anything but when I typed the 'storage' path name like so: asset('storage/uploads/pic1.png) my code worked!

Guess this might help someone.

Just a Promotion : Experience reliable hosting with interserver

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git