assign event photo to the ticket when creating an event