Fixing a problem with images