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? Hello,
If it was working, it should keep working :).
We recommend you to check the server logs, the read/write access of the image and embed an image standalone manually using phpdocx. And make sure there's no other external change that do the images fail.
Regards.