Ok...this may be worse than I thought. Only Internet Explorer returns the file location of an unlinked image when you use GetLocation. When I use Netscape, I get a blank string for unlinked images.
Also, I've been trying to use a number of inherited methods, like GetPropertyList on objects of class HtmlImage and I get an error that says lsPropertyNames is not defined.
Has anyone written a script that verifies that a page is loading the right image files? I don't want to use any of the Bitmap methods/functions because that would require me to have a copy of the bitmap on the test server. This would be fairly unwieldy with the sheer number of images on our sites.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by waynetayloruk: How did you get on with your workaround I would be interested to know.
I emailed you the code, but in a nutshell I wrote a new method GetFileLocation() for HtmlImage which right clicks on the image and gets the image location either from the Properties dialog in IE or from Copy File Location in Netscape.
It's pretty slow and kludgy on IE so I hope this enhancment request gets approved for 5.02 with a better "under the covers" solution.