Forum


Replies: 2   Views: 5341
Replacement of images in templates fails silently when image is not accessible
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 mquadrat  · 09-07-2013 - 19:59

When using addTemplateImage you should check if the replacement image exists and is accessible. If not the generated docx file gets generated without any replacements. The log does not show any error messages, which makes it hard to debug.