Hello,
Thanks for answer.
that's exactly the solution i finally found.
not very fast to code, but that works fine!
Note that there is bug in replaceVariableByWordFragment method with addImage Context in case of file name contains dot character
for example, when file name is "my.file.jpg', it does not work
with "myfile.jpg', it works
thanks