add post image to post template