Iterated over doc text, added compressed image links.