0
votes

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
php artisan storage:link will solve the issuesta
@sta i have make the command itsnot workingKhal
delete and make againsta

1 Answers

0
votes

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