Forum


Replies: 2   Views: 1451
Add image using template tags in bulk processing
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 ascendware  · 21-09-2020 - 16:02

Hi,

I would like to insert an image in the document using the WordFragment > addImage method, but it is giving me an error: Fatal error: Call to a member function addFile() on null.

Another reason why I need to use the WordFragment > addImage is because I need to insert images inside the table while running in the bulk document processing.

How can I achieve this?

 

Thank you very much.