Voyager image not showing
First Remove from localhost from .env file and put URL your server
rm public/storage
then rerun the symlink code again
php artisan storage:link
sudo rm -r public/storage
then rerun the symlink code again
$ php artisan storage:link
voyager.php setting:
'storage' => [
'subfolder' => 'public/', // include trailing slash, like 'my_folder/'
],
filesystem.php setting:
'default' => 'local',
'cloud' => 's3',
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'visibility' => 'public',
'url' => env('APP_URL').'/storage',
],
's3' => [
'driver' => 's3',
'key' => 'your-key',
'secret' => 'your-secret',
'region' => 'your-region',
'bucket' => 'your-bucket',
],
],