Linked Questions
41 questions linked to/from Laravel 5 - How to access image uploaded in storage within View?
0
votes
1
answer
565
views
How to access image outside the public folder (Laravel) [duplicate]
The project split into two part which is admin panel(localhost:8080) and front end(localhost:8000), both also use the same database, all the image store as a url in database example: product_id/image....
31
votes
5
answers
72k
views
How should I serve an image with Laravel?
I'm storing user profile pictures in the Laravel storage folder instead of the public folder because I would like to keep the public folder clean from user clutter.
To serve an image from that folder, ...
9
votes
6
answers
30k
views
Laravel app storage images failed to load and redirect to 404
I hosted laravel application on shared hosting server.
on server there are 2 folders :
1) laravelapp -> contains (app,config,database,vendor...etc folders)
2) public_html -> contains (css,js,images,...
6
votes
2
answers
12k
views
Working with encrypted files in Laravel (how to download decrypted file)
In my webapp, users can upload files. Before being saved and stored, the contents of the file are encrypted using something like this:
Crypt::encrypt(file_get_contents($file->getRealPath()));
I ...
3
votes
4
answers
21k
views
display image from storage laravel 5.3
I'm new to laravel framework, I want to display an image stored in storage folder. I tried this
Route
Route::get('/userimage/{filename}', [
'uses' =>'PostController@getUserImage',
...
2
votes
2
answers
25k
views
Laravel API return image from public folder with database data
I want to return image with data.
$ads = DB::table('ads')->whereRaw('category_id=' .$id)->orderBy('id', 'desc')->get();
$filename = public_path().'/uploads/images/'.$ads->ad_image;
$...
1
vote
3
answers
22k
views
How to open file from storage by URL address?
I store files in storage.
No I tried to generate link that open file like:
http://[temp.com]/storage/tests/de139607636857fade861a3c2c472643.txt
But it does not work.
How to open file from storage ...
2
votes
4
answers
10k
views
Laravel Access Images outside public folder
I need to store images in a backend for logged in users. The stored images need to be protected and not visible from the outside (public). I choosed a "storage" folder for this.
I came up with this ...
1
vote
2
answers
4k
views
Laravel 7 - not getting storage image path correctly
I am unable to fetch the correct image URL to display in view using the asset. The generated URL required storage which is missing in it when I use the asset function and I have to manually add ...
0
votes
1
answer
4k
views
Access to the storage folder in Laravel is impossible
I have Laradock on my MacBook.
I make php artisan storage: link
My website is this URL: http://project1.test
My website upload files to storage/.
When I open in browser: http://project1.test/...
2
votes
3
answers
3k
views
Laravel 5.4 show uploaded image issue
I'm learning Laravel 5.4 and for now I'm trying to upload image and show uploaded image in html.
It seems files are uploaded successfully but when I want to show the image in Html, there's 404 error ...
3
votes
1
answer
5k
views
Laravel Response::download() function image issue
I'm using Laravel 5. I am creating a photo gallery of sorts. When you click on an image I use
Response::download($path,$filename,$headers);
To initiate a download of the file.
Below is my code:
...
5
votes
1
answer
4k
views
Laravel 5.1 - Display images stored in Storage folder
I am making a image uploading function for a website using Laravel 5.1. Because of security problems, I want to store those images in /storage/app folder, instead of /public. Image's URL, for example:
...
0
votes
1
answer
3k
views
Laravel 5.5 image is not showing from storage/app
I am using laravel 5.5. I have a form to upload image. Those images are storing into the storage/app folder. It is working fine. But when I try to show those images. Those are not showing.
I have ...
0
votes
3
answers
2k
views
How to display an storage image Laravel 5.2
I want tho disply an image on my view, but i receive: File not found.
The two errors:
FileNotFoundException in FilesystemAdapter.php line 61:
storage/app/public/covers/teste-bravo_cover.jpg
...