简体   繁体   English

.doc至PHP中的html不显示图像

[英].doc to html in PHP display no image

I have someimage.docx that contains text and images. 我有someimage.docx ,其中包含文本和图像。 I used https://github.com/xylude/Docx-to-HTML to convert it to html but it seems the text were only shows and the images won't shows up. 我使用https://github.com/xylude/Docx-to-HTML将其转换为html,但似乎文本只是显示而图像不会显示。 does anyone have an idea about this? 有人对此有想法吗?

That library can't convert images in doc to html. 该库无法将doc中的图像转换为html。 I would suggest you to use any online services to do that. 我建议您使用任何在线服务来做到这一点。 You can get their api too. 您也可以获取他们的api。 Cloudconvert is one of them Cloudconvert是其中之一

They have rest api too, check further details on https://cloudconvert.com/apiconsole 他们也有休息api,请在https://cloudconvert.com/apiconsole上查看更多详细信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM