Iterated over doc text, added compressed images.