Forum


Replies: 5   Views: 3604
Image in template table
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 MVa  · 10-09-2013 - 08:41

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