Develop an application with Laravel 5.3, where _DocumentRoot_
is in the public
folder. Upload images are in storage/app/public
, but I do not know how to list these images in a view
, I can only display them directly through response()
of Laravel.
Note: Image names are saved in the database.
If I use return response()->file('caminho_da_imagem')
in view
or controller
it returns the image to me in a dark background;
I also tried to use Intervetion Image with Image::make('caminho_da_imagem')->response();
, but the result was the same.
Thank you in advance