Added image validator
Fixed typos [skip ci]
Changed px to pixels
Overriding validateFile()
Changed validateFile() method access from protected to public, fixed hasErrors check