Storing Images as text and rendering it back

Hi,

I have a typical requirement that, user can upload the images along with the text using the rich text editor. In this case I would like to store the images also as part of the document (html).

Like it could also be an external image tag or it could be an binary data from editor.

Please let me know your comments.

Thanks
Ragu

Hi
Thanks for your request. In this case you should use MHTML, which is actually HTML with all resources embedded. Also, you can try storing your images as base64 in your HTML documents. Using Aspose.Words you can import and export HTML with such images:
https://reference.aspose.com/words/net/aspose.words.saving/htmlsaveoptions/exportimagesasbase64/
Hope this helps.
Best regards,