'public' => [ 'driver' => 'local', 'root' => public_path('app/public_html/'), 'url' => env('APP_URL').'/storage', 'visibility' => 'public', ], if ($request->hasFile('image')) { $image = $request->file('image'); $filename = 'page' . '-' . time() . '.' . $image->getClientOriginalExtension(); $location = public_path('app/public_html/images/' . $filename); Image::make($image)->resize(1200, 600)->save($location); if(!empty($page->image)){ Storage::delete('images/' . $page->image); } $page->image = $filename; } What I did to solve this problem: 1.go inside the project folder using ssh 2.if public folder not exist, create it. If already created, then make sure the storage symlink you created in development been deleted. 3.do php artisan storage:link 4.move the storage symlink that created to the public_html folder 5.done.
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter