Fix references to images.