Began working on basic validation of uploaded images.