safrazik / vue-file-agent

The most beautiful and full featured file upload component for Vue JS
https://safrazik.github.io/vue-file-agent/
MIT License
731 stars 93 forks source link

Changed isImage() to return false for WMF files #173

Open Drackokacka opened 2 years ago

Drackokacka commented 2 years ago

As the WMF images can not be viewed in HTML, they should not be marked as image type. Being treated as viewable image format while not being able to preview caused VueFileAgent to not update its value (file list). This was fixed by returning false for type image/x-wmf.

I attached example WMF file in zip archive. Sideview.zip