Image upload when no file extension present
| Project: | Node Images |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Bug with image upload (seen with MD5 for filename but will be the same if this is not enabled). When an jpeg image file (for instance) is uploaded with no file extension created file ends up as e.g. 26b698589b6aa836 and thumnail like 26b698589b6aa836.tn - should be 26b698589b6aa836.jgp and 26b698589b6aa836_tn.jpg
To reproduce get a jpeg image and remove the extension (jpeg or jpg), upload file, file displays but src shows no extension, it still displays but could cause problems in some browsers or introduce bugs in operation down the line.
I am guessing the best solution would be not to allow them to upload an image without a file extension OR if possible determine image type and append file extension (more user friendly).
