Čamo
Čamo

Reputation: 4163

Laravel 5.7 getting images from storage

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?

Upvotes: 0

Views: 178

Answers (1)

STA
STA

Reputation: 34668

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

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

Upvotes: 1

Related Questions