The next version of phpdocx will solve images issue.
Meanwhile, apply this patch:
Index: TransformDoc.inc
===================================================================
--- TransformDoc.inc (revision: 175)
+++ TransformDoc.inc (revision: 176)
@@ -243,8 +243,8 @@
$package->getFromName('word/_rels/document.xml.rels')
);
$pathImgs = array();
- foreach ($relationsImgs->relationship as $relImg) {
- if ($relImg["Type"] == cTransformDoc::SCHEMA_IMAGEDOCUMENT) {
+ foreach ($relationsImgs->Relationship as $relImg) {
+ if ($relImg["Type"] == TransformDoc::SCHEMA_IMAGEDOCUMENT) {
$pathImgs[(string) $relImg["Id"]] =
(string) $relImg["Target"];
$pathZip[] = 'word/' . (string) $relImg["Target"];
Regards.