Remove extraneous images.