Remove bad image links.