Added freezing of image.