Enhance image upload feature
mattstratton opened this issue · comments
Matty Stratton commented
A few things that need to be done:
- Images should be renamed with a SHA hash for uniqueness; there's no need to store them according to their name (since those things might change and also there might be duplication of image names)
- Validate that the files are gif, png, or jpg/jpeg file extensions