Laravel - How get images from /storage

Viewed 6150

I'm having problems to get images from storage. So i upload files and images to storage. When the file is image i upload to storage/images/ and the file goes there right.

In database it saves this: /images/image01.png .

In blade view i try to do this but doesn't work:

<img src="<?php echo asset("storage/". $images[0]->image)?>" />

In html it shows like this:

<img src="http://localhost:8000/storage/images/image01.png">

How can i do that?

Thank you

3 Answers
Related