Free Support Forum - groupdocs.com

Html mode email images not shown

Hi,


We have another issue with the ASP.NET_MVC_Front_End not displaying an image.

Regardless of the value of HtmlOptions.IsResourcesEmbedded the image in the attached test email .msg file does not show because the url in the img element does not have the HtmlResourcePrefix in it:


I’d expect the source to be something like src="/document-viewer/GetResourceForHtml?documentPath=Aspose.Words.a9963580-1c8c-40ad-b05d-b2c68983c51e.001.jpeg"

This was reproduced from your demo app.

subject.zip contains the email file as subject.msg. email-no-image.png is a screenshot of the MCV web page with the missing image.

It works fine in image mode.

Thanks,
Darryl

Hi Darryl,


Thanks for sharing your issue with us.

This issue has been logged in our Issue Tracking System. The issue was related to the back-end GroupDocs.Viewer for .NET API and hopefully, its fix will be available in upcoming release. A temporary workaround has also been added in ViewerController.cs in the sample ASP.NET_MVC_Front_End application. Please download the latest source code and check if issue is resolved at your end.

We shall be looking forward to hear from you.

Warm Regards

The issues you have found earlier (filed as VIEWERNET-1094) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by groupdocs.notifier.
(1)

Hi Usman,


Thanks - that did the trick.