removes references to images hosted on cne domain