Forum


Replies: 3   Views: 1404
Devision by zero in line 51
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 admin  · 13-10-2020 - 08:39

Hello,

The only case where phpdocx could return that exception when adding an image is if the image doesn't have a dpi or it's set as 0, but it should return the following exception: There was an error adding the image. In this case you can set a custom dpi using the dpi option.

If you send to contact[at]phpdocx.com an image that illustrates your issue, we'll check it.

Regards.