Free Support Forum - aspose.com

Embeded images missing when convertered from doc to html in SharePoint

I built a doc to html converter in SharePoint utilizing aspose.words. It works fine as a stand alone application, all embeded images got saved as separate files and are all linked properly within html page. However when running within SharePoint, after conversion I only got the html page in the library, all images are missing. Is there any way to resolve this?


This message was posted using Page2Forum from Add DOC to PDF and Other Conversions to Microsoft Office Sha... - Aspose.Words for .NET and Java

Hello!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for your inquiry.

Please note that images need to be saved somewhere as separate files when you convert to HTML. If you are using the sample code from our documentation article (http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/add-doc-to-pdf-and-other-conversions-to-microsoft-office-sharepoint-server-2007-with-aspose-components.html) they will be saved to the same folder with the resulting HTML. Next, the HTML file is somehow utilized by SharePoint – copied, stored etc. without taking care of images. The better way is converting to MHTML (MIME web archive) format. If MHTML doesn’t suit your needs then you should think how to retain/preserve images in separate files.

Regards,

Hi!

We are delighted to announce the availability of Aspose.Words for SharePoint, which is our latest addition to the Aspose.Words product family.

This release, Aspose.Words for SharePoint 1.0 makes high quality document conversions for DOC/DOCX/ODT/RTF/PDF/XPS and others easily accessible to SharePoint users.

Please find more details in our Documentation area.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.