Forum


Replies: 6   Views: 1050
Not all images are in created document
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 netengine_at  · 24-11-2021 - 06:51

Hi,

I have the following problem, I use embedHTML to get a HTML template into a word document.
This also works most of the time, but in certain templates the images are missing. I've looked at the HTML code for errors (missing closing tags etc.) and if the missing images in the DOC are accessible (both these things are good). How can I find out what is causing the problem? I'm at a loss because it seems so random, when images are there and when they are missing... I have for example a document with 500 pages where about one tenth of the images are missing.

I'm using Version 12 of phpdocx
$docx->embedHTML($myHTMLcode, $embedHTMLoptions);