Forum


Replies: 2   Views: 3602
Can't change image width and height in template
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  · 30-10-2012 - 02:29

when add image into template

$Logo='path_to_logo';
$docx->addTemplateVariable('logo',$Logo,'image');

how to resize the image (e.g. specify width and height)