Remove not needed images.