Change ref to image in post