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.
Hi,
we were using following code and it worked fine but suddenly it stopped showing images.
$wf_img_text = new WordFragment($docx);
$wf_img_text->embedHTML('
Figure '.$row['sequence_no'].': '.$legend.'',array('downloadImages'=>true));
//$wf_img[$seq] = new WordFragment($docx);
$textBoxOptions1 = array(
'align' => 'left',
'border' => 0,
'width' => $targetWidth,
'textWrap'=>'tight'
);
$docx->addTextBox($wf_img_text, $textBoxOptions1);
any ideas how can it stop working?