Hi, I have a problem over here. The problem is when I trying to put the image source link to a pie chart generator, it unable to save that picture to the doc file.
For example,
$table = '<table style="border-collapse: collapse;">
<tr style="background-color:#9bbb59; color:red; font-weight: bold;">
<td>
<span style="font-family: Calibri; font-size: 21pt; background-color:none;">No</span>
</td>
<td>
<span style="font-family: Calibri; font-size: 21pt; background-color:none;">Test</span>
</td>
<td>
<span style="font-family: Calibri; font-size: 21pt; background-color:none;">Dest</span>
</td>
</tr>
<tr>
<td>
<span style="font-family: Calibri; font-size: 21pt">Just Try</span>
</td>
<td>
<span style="font-family: Calibri; font-size: 21pt">Just Try</span>
</td>
<td>
<span style="font-family: Calibri; font-size: 21pt"><img src="https://chart.googleapis.com/chart?chs=250x100&chd=t:60,40&cht=p3&chl=Hello|World"/></span>
</td>
</tr>
</table>';
$docx->replaceTemplateVariableByHTML('TABLE_2', 'block', $table, array('isFile' => false, 'parseDivsAsPs' => false, 'downloadImages' => true));
This link https://chart.googleapis.com/chart?chs=250x100&chd=t:60,40&cht=p3&chl=Hello|World will provide pie chart image but it is not work when we use to convert it to doc file.
Any solution? Thank in advance.