Forum


Replies: 6   Views: 1942
With corporate version 5.5, is it possible to embed an image in a table cell with the addimage() fea
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  · 14-03-2019 - 16:19

Hello,

Yes, you need to create a WordFragment with an image and then add the WordFragment to the cell table.

Please check and run the example Core/addTable/sample_2.php available in the package you are using. The XML you post is the internal OOXML image content, files are added in the word/media folder of the DOCX.

The streamMode option is available since the release of phpdocx 7.5 (https://www.phpdocx.com/news/post/phpdocx-v7-5-release-notes/213).

Regards.