Because after the class phpdocx Epub does not create the "images" folder inside with the images ..... but only the folder "file ....." on the server. Where do you put your hands? While if I use the example script type EPub.Example1.php everything is ok, otherwise it does not automatically create the folder "image".
Asbjorn Grandt - 2013-12-28 15:23:39 - In reply to message 3 from Peter
The images in a docX is referenced via an id found in the word/_rels/document.xml._rels file, which maps the image id to the correct image file.
The document.xml may reference the image name, but that is not guaranteed.
But from what little I've seen, phpDocx does not insert the image tag into the extracted html.
I have no problem helping with my own ePub class, but you are essentially asking me to help bug hunt someone else's classes.
Please make sure that the html you are trying to add to the ePub is in fact valid, and if it contains the image tag needed. From there you can either manually add the images to match the filename in the image tag. Under normal circumstances this is fairly trivial to do once you found the pattern the docx class will be using.
Alternatively, if the image tag is relative to the location of the html, ePub takes a root dir as argument, so if the image tag is referencing "images/anImage.png" that rood dir needs to point to the directory containing the images dir.