Fixed images were not included in back end document generation (#1053)