trichview.support
Re: Image from URL |
Author |
Message |
Mauricio Magni |
Posted: 02/04/2004 21:17:30 Hello Sergey Thanks for your answer. Actually I'm trying to do the inverse task: I'm editing into a TRichView, and saving the data into a rvf format, then I want to send the document as an html email. I'm storing the document into a database, then I want to shrink the document as much as possible. My idea is store some pictures into a website and let the generated html take this pictures thru the internet. With html I can do this with "<img src="http://www.website.com/image.png" alt="Image" />" but I can't realize how to do this with TRichView. Could you help me? Thanks a lot. Mauricio Magni. "Sergey Tkachenko" <[email protected]> wrote in message news:[email protected]... > Do you mean inserting HTML files with images from url? > > Look in the help file about TRichView's OnImportPicture. > This help topic contains an example how to download pictures with Indy. > OnImportPicture occurs when importing from RTF with external pictures. > For HTML files, you need to process TRVHtmlImporter.OnImageRequired2. It's > almost the same. The only difference - local files. If you did not load a > local file in OnImportPicture, it will be loaded automatically. If you did > not load a local file in OnImageRequired2, no image will be loaded. > > > Hello > > Dows anybody know if I can insert an image from a url? > > Something like <img> in html > > <img src="http://www.website.com/image.png" alt="Image" /> > > Thanks. > > Mauricio Magni. > > > > > > |
Powered by ABC Amber Outlook Express Converter