Forum


Replies: 2   Views: 3601
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)

Posted by admin  · 11-04-2013 - 12:13

Hello,

Sorry but there's no possibility to resize an image. I have added a new task to be checked how to do that and maybe add that feature in a next version of phpdocx.

Regards.