I have a form which uploads files.
I want a way to make sure the file uploaded (first off is an image, so should I make sure the file type is either: gif, jpg, bmp, png, tiff ..) is less than (say… 50K? and is between 200 X 200px and 800 X 1000px?
How do I perform these checks so that if 1 file upload is buggy, the user can simply replace the file untill all is ok and the form is submitted?
Help @lukeurtnowski spread the word by sharing this article on Twitter...Tweet This