Answers for "laravel display image from storage_path"

PHP
4

laravel storage get file path

use Illuminate\Support\Facades\Storage;

$path = Storage::path('file.jpg');
Posted by: Guest on October-17-2020
0

laravel image path

You have to put all your assets in app/public folder, and to access them from your views you can use asset() helper method.

Ex. you can retrieve assets/images/image.png in your view as following:

<img src="{{asset('assets/images/image.png')}}">

this answer is from stack-overflow
by->Walid Ammar
Posted by: Guest on September-29-2021

Code answers related to "laravel display image from storage_path"

Browse Popular Code Answers by Language