Forum


Replies: 2   Views: 3682
Addtemplateimage - doesn't work in header?
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 seb  · 15-11-2013 - 17:42

Hello,



I've been trying to get addTemplateImage() to replace an image in my Word Template's header. It causes no errors, but the original image remains. The image does not get replaced.



Is this because its in the header and not in the body of the template?



Thanks,



Seb


Posted by seb  · 15-11-2013 - 17:44

Ok I just found replaceHeaderImage() which does work - sorry false alarm!