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?
6 Replies
If it's stored in public the disk should probably be
->disk('public')
?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
The solution is to type the following command:
Well the first thing you should check is whether you can access the file at all, before we debug the FileUpload 🤷🏼♂️