Collect image map grouped by document.