added ability to add photos when creating a new post.