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

Free Support Forum - aspose.com

Ocumentbuilder.inserthtml not working for serverpath image url in aspsoe.words?


I am not able to display the image on aspose pdf document. Only text is being displayed and in place of image I am getting cross mark.
I used “builder.InsertHtml(html)” statement and in “html” I am getting the image tag + text from Sql Server data base table column in the form of string.
I am getting the below string in html.
But after executing “builder.InsertHtml(html)” statement, I am getting the text “xyz” and in place of image it is showing cross mark.
I am using aspose words 11.10.0 version.

Please help me out.


Hi Phani,

Thanks for your inquiry. I would suggest you please upgrade to the latest version (v14.11.0) from here and let us know how it goes on your side. Please make sure that the image path is correct in html document. Open the html in browser and check either the image is visible or not.

If the problem still remains, please attach your input html document here for testing. I will investigate the issue on my side and provide you more information.