I've made a script that "sometimes" retrieves the width and height of a preloaded image, but it doesn't always work.
The intent was to select thumbnails from my webpage and open a new window that was the precise size of the larger image file.
About 20%, it works. I think IE caching is helping me without my knowledge.

Does anybody know a reliable way to get size info from an image file?