Adding image size validation to events form