add validation to make sure agent upload at least one image for a event