Forum


Replies: 2   Views: 2681
Replacetablevariable doesn't render <img> tag
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 admin  · 23-02-2017 - 18:20

Hello,

When you use embedHtml, images must be available through an URL (absolute or relative) and set the downloadImages option to true. You can't use a local path to add images.

If the addImage method is returning a file not found error, then the image is not accesible through PHP or it doesn't exist. We recommend you to run the included examples to test this method and check read access to the images you are adding.

Regards.