Remove unnecessary image files.