Forum


Replies: 5   Views: 3600
Image in 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 jorgelj  · 10-09-2013 - 15:24

Hello,



You just need to add a placeholder in the document, like $IMAGE$. And then use replaceTemplateVariableByHTML replacing $IMAGE$ with an image tag like <img src=""/>



You can check easy/ReplaceTemplateVariableByHTML.php example.



Regards.