Fixing references from Images to images