Forum


Replies: 2   Views: 1075
Images embedhtml
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 s.montanarella  · 24-06-2021 - 08:21

Hi',

I've difficulties to show correctly some images inside the docx file.

In my html I've this:

<img src="/documents/VersUploadManuals/839/myimg.jpg" alt="test" width="650">

This image is 650 pixel at 96dpi, converted in cm is 17cm (more or less).

The default scale settings inside phpdocx is 100% but when I open the resulting docx the image is scaled to 76%. If I changed it manually to 100%  the image has the correct dimension inside the docx.

If I try to inserti the images directly from file system the results i correct.

Am I missing some parameters?

Thank you again!