We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Image does not appear in the Word if it is secured

Hi,

I am facing a problem with DocumentBuilder.insertHTML()… when the html contains a secured image it comes as X in the Word. It works for image with http:// , however it fails for image with https://

for eg :
Consider the html:

<img src="https://192.168.101.55/digite/ImageRenderer?ImageID=1021" alt="" width="504" height="360" />

This will not show the image in the Word. because the Image is secured. And, I can’t use the insertImage() because this HTML can contain n no of images at different positions. I’ll have to break the HTML.

Please suggest.

Regards,
Aslam

Hi Aslam,

Thanks for your inquiry. I was unable to reproduce any issue with DocumentBuilder.InsertHtml method when using HTTPS urls in SRC attribute of IMG tag.

Moreover, your server did not return any image when I accessed the image, i.e. located at https://192.168.101.55/digite/ImageRenderer?ImageID=1021, via browsers. Most likely your server is down. Also please make sure if your server is not requiring any authentication.

Best Regards,