erase images from index