Change external images to data uris