The image path field must be a file of type image/*

Sometimes it works, sometimes not
No description
3 Replies
toeknee
toeknee4w ago
provide the code
Dennis Koch
Dennis Koch4w ago
If mime types don't work it might be a server issue or an issue with the mime type of the file
Dimitar
Dimitar4w ago
Forms\Components\FileUpload::make('image_path')->directory('venues/upload')->hiddenLabel()
->image(),
Forms\Components\FileUpload::make('image_path')->directory('venues/upload')->hiddenLabel()
->image(),
This is the code, its simple. The hosting is sitegraund and running php 8.3, im also suspecting it could be hosting issue. The user is also running firefox, and they say it happens both in firefox and chrome. And i cannot replicate the issue with any of them both on local and prod.
Want results from more Discord servers?
Add your server