Laravel Version: 5.5 Voyager Version: 1.0 PHP Version: 7
I have uploaded my laravel project in cPanel. Previous images are shown successfully but the newly added images are not showing.
Here last 2 images are already in the project before uploading in cPanel. After uploading the project successfully in cPanel I have try to upload an image but it is not shown which is first one.
Anybody help ?
i tryed with change in config/filesystem.php
Change the path from storage_path() to public_path().
'public' => [ 'driver' => 'local', 'root' => public_path('app/public'), 'url' => env('APP_URL').'/storage', 'visibility' => 'public', ],
but it not worked. please help me!
broken image url- http://example.com/storage/products/December2018/QIDyzoFg1aAf6NUGMJtZ.jpg