The web page here cropped up in another question here about retrieving imags from a spreadsheet.
If you navigate to the page in FF you'll see that there are two images, at the LHS of the blue header strips.
However, if I load the page into a TWebBrowser and run the following code
procedure TForm1.GetImageCount;
var
Count : Integer;
Doc : IHtmlDocument2;
begin
Doc := IDispatch(WebBrowser1.Document) as IHtmlDocument2;
Count := Doc.images.length;
ShowMessageFmt('ImageCount: %d', [Count]);
end;
, the message box reports a count of 1 rather than the expected (by me, anyway)
2. I can easily access and save to disk the first image displayed, but not the
second or any subsequent one, because they aren't in the IHtmlDocument2 Images
collection of the loaded page.
So my question is, how do I get at the second image to save it to disk?
The FF debugger shows that the web page is crammed with javascript, which I imagine may be how the second image gets to be displayed, but I've no idea how to go about getting it.
Any ideas?