You are here:
Dynamic Images in Server-Side Document Generation
Insert images such as product images, barcodes, or pie charts in your generated DOCX and PDF documents by using image tokens in a Microsoft Word or Microsoft PowerPoint document template. An image token format is {{IMG_<imagetokenname>}}, for example, {{IMG_header}}. Use a single image, multiple images, and loop images. Place image tokens anywhere within a document template, such as in paragraphs, tables, and text boxes. Use a token in a header or footer or within a repeating content section to pass an array of images. Define the height and width of the images in Omnistudio Data Mapper Transform. Image tokens are supported within the Token Data and Token Data Content Document fields of the Document Generation Process. You can also use a custom class to load a blob for dynamic image rendering from sources, such as non-contentDocumentId, URL, ObjectID, or other strings and identifiers.

