Updating images in the posts to refer to the local copy