Replies: 2   Views: 2593
Does phpdocx handle embeded images in html?
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  · 04-10-2018 - 18:08


I have an HTML document that contains embedded images, such as,

<img alt="" src="data:image/png;base64,%20iVB....>

phpdocx fails on converting this to docx. I'm wondering if there is an option I can set to make this work.



Posted by admin  · 05-10-2018 - 06:59


The current stable version of phpdocx doesn't support adding embedded images in HTML, but the latest beta package includes support. Beta packages are available for licenses with LUS. This feature will be added to the next release of phpdocx.


Posted by admin  · 17-10-2018 - 06:37


phpdocx 8.5, launched yesterday, added support for embedded images (base64).