Replies: 2   Views: 3105
Adding template images, that have a space in their name
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 mquadrat  · 29-07-2013 - 10:31

Adding template images works fine. However when you try to add images that contain spaces the generated Word file cannot be opened. After using Word's repair option the document is shown without the image.

I can send a test case and a generated document in case you can't reproduce the issue.

Posted by admin-phpdocx  · 29-07-2013 - 11:02

It is always better not to use white spaces in the file names because different platforms may treat them, please, only use standard characters for file names without white space to avoid this kind of problems.