filepload display problem

My image is saved in storage/app/public but is not displayed in my component, whereas in v2 I had the preview. Is there any configuration to be done?
Solution:
The solution is to type the following command:
php artisan storage:link
php artisan storage:link
...
Jump to solution
6 Replies
Becker Maxime
Becker Maxime8mo ago
No description
Becker Maxime
Becker Maxime8mo ago
FileUpload::make('logo')
->image()
->imageEditor()
->previewable(true)
->columnSpan(2),
FileUpload::make('logo')
->image()
->imageEditor()
->previewable(true)
->columnSpan(2),
Dennis Koch
Dennis Koch8mo ago
If it's stored in public the disk should probably be ->disk('public')?
Becker Maxime
Becker Maxime8mo ago
I still don't have a preview the problem is that it looks for a http://localhost/public/citF53nnFumqErpMtNlmK6tdCRmDJV-metaQ2FwdHVyZSBk4oCZw6ljcmFuIGRlIDIwMjMtMDktMDcgMTItMjktMjUucG5n-.png url instead of a blob. I don't understand why.
Solution
Becker Maxime
Becker Maxime8mo ago
The solution is to type the following command:
php artisan storage:link
php artisan storage:link
Dennis Koch
Dennis Koch8mo ago
Well the first thing you should check is whether you can access the file at all, before we debug the FileUpload 🤷🏼‍♂️