We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 408ae6a commit a08536dCopy full SHA for a08536d
1 file changed
src/dropzone.js
@@ -902,7 +902,8 @@ export default class Dropzone extends Emitter {
902
file.dataURL = fileReader.result;
903
904
// Don't bother creating a thumbnail for SVG images since they're vector
905
- if (file.type === "image/svg+xml") {
+ // Also skip gif (see #39)
906
+ if (file.type === "image/svg+xml" || file.type === "image/gif") {
907
if (callback != null) {
908
callback(fileReader.result);
909
}
0 commit comments