I've been using PHPDOCX (version 5.5) for almost 2 years.This issue happened just last week, I don't have any problem generating files with images in the past.
I tried all possible solution how to prevent it but no success.
After generating file WORD gives a warning that says, The open xml file cannot be opened because there are problems with the content or the file namemight contain invalid characters.
With second warning... WORD found unreadable content. Do you want to recover the contents of this document? After selecting YES the document open just fine with all the correct formating. After saving it in the desktop I can open it again without any issue or warning. Any help will be greatly appreciated cause I tried to find a solution for days without any luck.