feat(document); add url in documentFormat for local images (refs #4786)