trichview.support
Re: loading html files |
Author |
Message |
Sergey Tkachenko |
Posted: 03/15/2004 23:08:21 You need to use some component for downloading "http" images, for example Indy (IdHttp) - shipped with new versions of Delphi. If you use RichViewActions, they contain all necessary code. See "Downloading images section in reame.rvf If you do not use RichViewActions, the sample code is here: http://www.trichview.com/resources/html/rvhtml_indy.zip Notes: - it uses RVNormalize.pas (included in RichViewActions or here http://www.trichview.com/support/files/rvnormalize.zip) - it implements a very primitive memory cache (stringlist DownloadedImages, images are stored in Objects of this string list). The code would be simpler without it, but it would download pages containing many repeated images very slow. > If I were to load a HTML files which contains an Image with <img src> file > name is a http://.... > will the image being load? > > > > |
Powered by ABC Amber Outlook Express Converter