$header = '';
$paramsImg = array(
'name' => $_SERVER['DOCUMENT_ROOT'].'/img/header.png',
'scaling' => 100,
'spacingTop' => 100,
'spacingBottom' => 0,
'spacingLeft' => 100,
'spacingRight' => 0,
'textWrap' => 1,
'js' => 'center',
'border' => 1,
'borderDiscontinuous' => 1
);
$docx->addHeader($header, $paramsImg);
I get the image importing fine, however the image has a width of 0" and height of (basically infinite). I've tried the sixeX, sixeY with other combinations, with no change in results. Am I missing a param to make it work? Thanks.