Laravel does not display images in the view from storage folder

Posted 1 month ago by derkraizer

So, guys, I and a friend are working on the same project. We are using GitLab, the same repository, one branch. I used storage:link command to use a shortcut of the storage folder in the public folder of laravel.

The problem is that via this code: <img src="/storage/public/cover_images/{{ $book->image }}"

I can see/store only my images and not the images my friend uploads, the same applies for him - he sees/stores only the images he uploads but not mine. What might be the problem?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.