laravel5.4
解决图片不显示
执行 php artisan storage:link
因为ueditor.php中:
// 存储引擎: config/filesystem.php 中 disks, public 或 qiniu
'disk' => 'public',
所以到/config/filesystems.php 修改如下:
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
],
'public' => [
'driver' => 'local',
'root' => public_path('/'),
'url' => env('APP_URL').'/',
'visibility' => 'public',
],