Forum


Replies: 2   Views: 4030
Replace image in a template table
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by Simplexe  · 27-07-2016 - 10:02

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