Forum


Replies: 2   Views: 3386
How to get images from docx file after converting to html
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 7write  · 21-03-2014 - 11:53

Hi



I am using TransformDoc to convert docx files to HTML. My problem is that, I am not able to get the images in the docx file after converting to HTML.



Following is the code I am using



$document = new TransformDoc();

$document->setStrFile('test1.docx');

$document->generateXHTML();

$html = $document->getStrXHTML();



Is there any way, I can get image file also, along with the converted HTML ?


Posted by jorgelj  · 21-03-2014 - 12:49

Hello,



TransformDoc lacks of some features you can do with the conversion plugin included within Pro+, Corporate and Enterprise versiones.



Regards.