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.
when add replace template variable with image using
addTemplateVariable('NAME', '../files/img/image.png', 'image'); ,
is there a way to change the image size.
Also, when adding image using this method, the spacing becomes weird.
For example, in the template,
You can set your image size using a template. But it you want to set it dinamically you should try this method: replaceTemplateVariableByHTML.