remove all unnecessary image files.