add image tag for post thumbnail