Add image validation
Fixed typo