Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
But the problem is, I have many images on my page and unfortunately, they are not the same size (300 x 350) So, how can a write a function that will recognize the size of the image and display the right size of a new window? I would really appreciate if you could help me. Thanks in advance.
<body onload="resizeTo(document.images.width,document.images.height);" ...
you might need to add a bit of padding.