Clean up useless images.