Hello,
so I've been trying to find out what is going wrong. As I have mentioned before, one time the images will be in the document and another time the images will be missing. I've added two links to log files, where I have saved the variables when the documents is created, once the images are (debug2.log) there and once they are missing (debug.log), maybe you could have a look at the files and give me some feedback.
At about line 1138 there is a difference in the word code...
https://www.service-host.at/kunden/debug.log
https://www.service-host.at/kunden/debug2.log