Add validations to images