Forum


Replies: 6   Views: 1736
Insert image stream with embedhtml
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 hotspot22  · 23-07-2020 - 05:20

It's 9.5 Premium.

Adding a questionmark to the end of the image url causes the image not beeing displayed in the docx.

Using a RewriteRule ^image/(.*)$ image.php?id=$1 to insert my image by ...

$docx = new CreateDocx();
$html = '<img src="https://www.mydomain.com/image/123">';
$docx->embedHTML($html);

... is also working.

That's confusing...