Move image validations below has_attached_file