Adjusting image paths