Forum


Replies: 7   Views: 6185
Image in templage : size change
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 jorgelj  · 09-07-2013 - 08:57

Hello,



Before adding the images they are resized based on format and dpi to get the best quality for DOCX documents.



If you need to do any custom change, you can check CreateImage.inc file on createImage method, where there's a switch where size is calculated if mime type is png, jpg or gif.



Regards.