Changed validation on images