To display an image from an upload, the upload must be converted into a Base64 string. The string is then transferred to the Word document and converted back into an image.
Therefore, we first need a hidden field in which the Base64 string is stored. This field must be repeatable! In our example, the repeatable hidden element is ‘tfImgBase64StringMultiple’.
Prepare the Word document and insert a field/placeholder with the corresponding name. To display the image, the function ‘b64img()’ is required. The placeholder in Word should then be, for example,
tfImgBase64StringMultiple.b64img()