Download images locally, replace markup with new image path