Forum


Replies: 2   Views: 2755
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 Johnwen84@yahoo.com  · 04-10-2018 - 18:08

Hi,

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.

Thanks

John

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

Hello,

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.

Regards.

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

Hello,

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

Regards.