I'm trying to find a JS
that opens an image in a new window when a link is clicked. Just the image
only, not an html page. It would be really cool if the new window was the exact
dimensions of the image with no scroll bars, status bars, tool bars, etc. Any
ideas?

I know browsers read the dimensions of images somehow because if you open just
an image by itself in a window (not in an html page), the pixel dimensions are
displayed in the title bar. These dimensions must be able to be accessed/read
somehow via JavaScript and incorporated into the dimensions of the new window
being opened. What do you think?