Linked Questions

0 votes
1 answer
565 views

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....
vbnewbie's user avatar
  • 226
31 votes
5 answers
72k views

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, ...
clod986's user avatar
  • 2,667
9 votes
6 answers
30k views

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,...
Saurabh Mistry's user avatar
6 votes
2 answers
12k views

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 ...
Marcel Gruber's user avatar
3 votes
4 answers
21k views

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', ...
Ahmadz Issa's user avatar
2 votes
2 answers
25k views

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; $...
Muhammad Anwar Shamim's user avatar
1 vote
3 answers
22k views

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 ...
POV's user avatar
  • 12.1k
2 votes
4 answers
10k views

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 ...
Mamulasa's user avatar
  • 543
1 vote
2 answers
4k views

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 ...
Code Lover's user avatar
  • 8,408
0 votes
1 answer
4k views

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/...
trafgs's user avatar
  • 41
2 votes
3 answers
3k views

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 ...
Kiyarash's user avatar
  • 2,618
3 votes
1 answer
5k views

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: ...
Blorange2's user avatar
5 votes
1 answer
4k views

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: ...
xlKD's user avatar
  • 169
0 votes
1 answer
3k views

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 ...
Fokrule's user avatar
  • 832
0 votes
3 answers
2k views

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 ...
Maicom Rodeghiero's user avatar

15 30 50 per page