Support for .heic images #11411
Replies: 3 comments 2 replies
-
->acceptedFileTypes(['image/heic']) ? |
Beta Was this translation helpful? Give feedback.
-
This will be because filepond, which the FileUpload component is using, doesn't support these files out of the box. We need to add something like https://pqina.nl/pintura/docs/v8/examples/load-heic-image/ And I've used similar to add support in my own , non filament, components. At least some tips on how to add a custom fileupload component that can take advantage of the technique in the above link would be appreciated. |
Beta Was this translation helpful? Give feedback.
-
I got this working in the end, quite long winded but may help anyone else who lands here. Here's the gist of what I did.
You'll need to run this anytime you make changes to your file-upload-enhanced.js file (I'm sure you'll name these files better than me).
|
Beta Was this translation helpful? Give feedback.
-
Package
Form builder
Package Version
v3.0.0
How can we help you?
Is there any way for the FileUpload component to handle .heic images?
Beta Was this translation helpful? Give feedback.
All reactions