remove image urls from the images array to remove duplicates