You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all: thank you for maintaining this! Not sure what happened to the original Dropzone but it's widely used so I'm happy to see interest in further keeping this alive :-).
Images taken with iPhone cameras are often stored in a raw format with ".heic" extension. Their mime type is "image/heic" so Dropzone tries to render a thumbnail preview, but it doesn't work:
In the source code, we can see why the thumbnail can't be displayed:
In short, the dataUrl is not a string, but an object.
I propose to fix this by making a simple change to the thumbnail() function to check if the dataUrl is a string.
Would you be open to add this into the next release?
The text was updated successfully, but these errors were encountered:
Would you be open to add this into the next release?
Yes, please open a PR and I'll look into it. Please add an example HEIC file in there too!
Not sure what happened to the original Dropzone
Something I see a lot in the open source world: project maintainer simply lost interest in the project and let it die the worst ay: not answering nor providing access to a new maintainer. C'est la vie !
Uh oh!
There was an error while loading. Please reload this page.
First of all: thank you for maintaining this! Not sure what happened to the original Dropzone but it's widely used so I'm happy to see interest in further keeping this alive :-).
Images taken with iPhone cameras are often stored in a raw format with ".heic" extension. Their mime type is "image/heic" so Dropzone tries to render a thumbnail preview, but it doesn't work:

In the source code, we can see why the thumbnail can't be displayed:

In short, the dataUrl is not a string, but an object.
I propose to fix this by making a simple change to the

thumbnail()
function to check if thedataUrl
is a string.Would you be open to add this into the next release?
The text was updated successfully, but these errors were encountered: