Delete needless image files.