Forum


Replies: 1   Views: 2588
Aws s3 and replacevariablebyhtml
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  · 10-04-2017 - 18:34

Hello,

phpdocx uses an internal class to download images when using replaceVariableByHtml. Please check that the downloadImages option is set to true, that images are publicy accesible (phpdocx uses file_get_contents, so this access can be done through any supported stream: HTTP, FTP...) and that the strem of the image can be accessed (if you are using an URL to access the image maybe you need to set a baseURL value).

Regards.