Add attachmentImage and attachmentDocument configuration.