Forum


Replies: 3   Views: 3473
How do i make a fixed width of an image
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 Xardos  · 23-03-2016 - 13:03

Hello, i'm trying to set a fixed width of whatever image i'm inserting into docx file. I'm always recalculating height of the image but i wan't width to remain constant. However i always get images in docx file with different sizes despite that the parameter 'width' is always constant for each image. How can i fix it?