Answer the question
In order to leave comments, you need to log in
How to display images in laravel from minio?
Hello. guys. I'm trying to make Laravel
friends with Minio .
The problem is that it is not clear how to display an image in src.
Created bucket test in minio panel.
Threw images in there.
I'm trying to display in view :
@foreach(Storage::disk('minio')->files() as $img)
<img src="{{ Storage::disk('minio')->url($img) }}" alt="{{ $img }}"/>
@endforeach
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question