Hello
I have a table with some keywords and one image on a line
How can i change the image for each line i add like i do for the keywords.
thx in advance
Hello
I have a table with some keywords and one image on a line
How can i change the image for each line i add like i do for the keywords.
thx in advance
in completion
while {
$tmpf=$tmpimgname.$odorg++.'_odo.png';
$nosImages->OdometerSimple( $tmpf, $nom,$ratioNotes,$seuilorange,$seuilvert);
$tb[$i]['IMAGEODO']=$tmpf;
}
$docx->addTemplateVariable($tb,'table',$settings);
Doen't work the image is not replaced
And with
while {
$tmpf=$tmpimgname.$odorg++.'_odo.png';
$nosImages->OdometerSimple( $tmpf, $nom,$ratioNotes,$seuilorange,$seuilvert);
$docx->addTemplateImage('IMAGEODO', $tmpf);;
}
Every line of the table have the same image
Hello,
I recommend you to use text placeholders instead of images and invoke replaceTemplateVariableByHTML method to replace that placeholders.
Regards.
[quote=jorgelj]
Hello,
I recommend you to use text placeholders instead of images and invoke replaceTemplateVariableByHTML method to replace that placeholders.
Regards.
[/quote]
Sorry but I don't understand what you mean by replacing with text placeholders
R.