Rewrote image file paths