Setting image for post.