Forum


Replies: 2   Views: 1541
Addimage base64
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  · 21-04-2021 - 10:54

Hello,

UPDATE: phpdocx 12 has added support to add base64 images in addImage and replacePlaceholderImage methods.

addImage supports adding images from files and streams, but not as base64. Image as base64 is only supported using embedHTML (or replaceVariableByHTML).

We have opened a task to add support in a future release of phpdocx.

Regards.