0
votes

I have a little problem with getting an images from storage. Images are stored in storage/app/public/uploads/files directory. In database they are stored as file name image-1.png ... I am getting the files via url generated in Eloquent entity and url looks like src="/uploads/files/image-1.png" But cant see any image. Images are stored manually. Can somebody tell me please where is the problem?

1
did you create the symlink for storage/app/public to public/storage yet? (php artisan storage:link)lagbox
If you generate the symbolic link, then /storage/uploads/files/image-1.pngsta
Yes I did.......Čamo
You are right. /storage/uploads/files/image-1.png is the right path. Make an acceptable answer. Thanks a lot.Čamo

1 Answers

1
votes

If you generate the symbolic link, then your path will be :

/storage/uploads/files/image-1.png