Good question. Short of inventing still more non-standard HTML, I'd guess the browser would have to expose this through Javascript ... looks like
Mozilla has that one covered already.
And
here's a way to use Flash to detect zooming in general. Harnessing
Zoomify might be the best overall solution, since it seems to operate independently of the page zoom -- the container gets bigger but the pixels don't (tested in Firefox 3, don't know how IE7 or Opera react).
edit: Well, maybe not. Zoomify hijacks the Control
and Command keys, so as soon as you start interacting with the image you lose control over the page zoom.
Randall