Remove images not needed.