Open Natim opened 11 years ago
If you upload a image/png file without an extension, it will work, but will fail when trying to resize it.
We should use the mimetype to find the extension.
File "ionyweb/file_manager/functions.py", line 87, in version_generator version.save(tmpfile, format=Image.EXTENSION[ext], KeyError: ''
If you upload a image/png file without an extension, it will work, but will fail when trying to resize it.
We should use the mimetype to find the extension.