prevent delete of images.