Laravel storage image on server is not showing

741 views Asked by At

Hello laravel storage link image is showing perfectly in localhost and when i upload the project to shared hosting images are broken. To show images i have been using this syntax

<img src="/storage/users_image/{{$user->users_image }}"

the above one works great on localhost on shared hosting this images are broken to solve i make storage link but images are broken again on broken images it shows https://www.yuvxyz.com/storage/users_image/xxxy.png note i have uploaded public and other folders on different folders.

1

There are 1 answers

0
Khal On

Finally i got the solution from YouTube and it works i have created symlink then it worked here is the PHP file