Added saving of image info.