Fix image references.