Add validations to Galleries and Images