Forum


Replies: 2   Views: 3582
Add image by addtemplatevariable can't change image size
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 medscope  · 27-11-2012 - 03:45

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,

Regards,
$Signature$
abcdefge

[b]becomes[/b]

Regards,

[Image]

abcdefge