Images are not different from any other document you get through HTTP. You need to parse your currently loaded HTML page, find references to images and download each one separately.
Downloading via HTTP is fairly simple. Use System.Net.WebRequest class, bit your run-time class will be defined by the Uri and will be
System.Net.HttpWebRequest
in case of HTTP:
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url);
webRequest.Proxy = proxy;
webResponse = (HttpWebResponse)webRequest.GetResponse();
fs = new FileStream(fname, FileMode.Append, FileAccess.Write);
Don't forget your HTTP file can use different kinds of URL
schema for images. It can be FTP, for example. The download using FTP is as simple as HTTP, only your run-time type will be
System.Net.FtpWebRequest
.
See form more information
http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx[
^] and derived classes.
—SA