image upload, validation and linking it with the story