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

Free Support Forum - aspose.com

Re: FileStreamResult Image and InsertHtml


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.
"<img alt="" src="/EditorImages/Nuvola_apps_personal.png" />xyz"
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 Funny,

I’m not sure this is directly related to the problem I was having, but I do have a suggestion: Try to use the FULL URL of the image in the SRC attribute, instead of a relative path. If the FULL URL requires a log-in to access the image, then you probably are having the same issue as me; otherwise you should see the image instead of the red x placeholder.

Thanks, -B

[Double post - admin please delete]

Hi Phani,

Thanks for your inquiry. Please upgrade to the latest version of Aspose.Words 14.12.0:

In case the problem still remains, please create a standalone runnable console application that helps us reproduce your problem on our end and attach it here for testing. Also, please attach your input document and image file you're getting this problem with here for testing. As soon as you get this simple application ready, we'll start investigation into your issue and provide you more information. Thanks for your cooperation.

Best regards,