The script does not know the actual, true dimensions of the image it's magnifying unfortunately. So in order to magnify to those dimensions, you'll need to some some quick math to figure it out. Lets say you have an image that's naively 300 x 450px, though initially, you want to display it as a thumbnail with width 50px. With a little Math you know the height should then be 75px:
Code:
<img src="test.gif" style="width:50px; height:75px" />
Then, to magnify this thumbnail back to its native dimensions, you know the magnification should be 6x.
Bookmarks