Including images dynamically in templates
You can include images dynamically from the business object that the mail merge is based on. This section uses an example that shows how to add a property image to a property mail merge report.
You can dynamically include images in both HTML- and in DOC/DOCX templates. The procedure for these templates differs slightly, see:
Notes about images
The following file extensions are supported: bmp, jpg, gif, png, jpeg.
This is not supported for secure documents.
This is possible for flexible subreports, not for simple subreports.
The size of the image can be defined by adding a text box and adding the merge code into this text box. Place the merge code in a table cell within the text box and set the table option AutoFit to Fixed Column Width.
The file name of the image used in the mail merge must have a minimum length of 3 characters (or it will not be included).
The image can be merged from both fixed fields and expressions, as long as they are targeting an image field type.