Remove images that are not necessary