Reworks relative image paths