Fix resume error with the images.