Fix references to images