create post with photo object