Create event form and upload image function