add img and document