I'm trying to resize a window to fit the size of an image displayed within
that window.
Sometimes the image may be pretty small (40-50 pixels height). The window
has no scrollbars, no location, ..., no other elements, only the regular
caption and borders.

First I opened the window using window.open(...) and I specified the width
and height the window. Except that the open method has a limitation, one
cannot make the height of the window under 100 pixels.

So in the new window opened, I wrote a javascript where I called
window.resizeTo and/or window.resizeBy to adjust the size of the window, but
I still cannot make it under 72 pixels height.

This should run on IE and NN.

Somebody knows a workaround?

TIA