Hello,
Thanks for your answer.
My goal is to scale the image relative to the width of the column; problem is, using CSS doesn't work either:
$docx = new CreateDocxFromTemplate('htmltest.docx');
$pdm = <<<EOT
<table width="100%">
<tr>
<td width="33%" ><img style="width:75%" src="image1.jpg"></td>
<td width="33%" ><img style="width:75%" src="image2.jpg"></td>
<td width="33%" ><img style="width:75%" src="image3.png"></td>
</tr>
</table>
EOT;
$docx->replaceVariableByHTML('PDM', 'block', $pdm, array('isFile' => false, 'parseFloats' => true, 'parseDivsAsPs' => true, 'downloadImages' => true));
$docx->createDocx('htmltest_out');
Regards,
PdR