Modifying image paths