To display an image from an upload (repeated element), the upload must be converted into a Base64 string. The string is then transferred to the Word document and used to generate an image again.
Therefore, we first need a repeatable container in which the upload element and a hidden field are stored. In our example, this is the field ‘tfImgBase64StringWdh’ (hidden Base64 container).
Prepare the Word document and insert a field/placeholder with the corresponding name. To display the image, the ‘b64img()’ function is required. The placeholder in Word should then be, for example,
tfImgBase64StringWdh.b64img().
Please also note that the placeholder must be located in a table! A table with one row and one column is sufficient.