added mechanism for forcing images out of image cache when deleted