add photo to post model