Download loupe.js and include it into your webpages HEAD section.
// only if the image "loupe.png" is not in the current path
<scriptscript type="text/javascript">var loupePath="imagepath/";</script>
// else only this lines...
<script type="text/javascript" src="loupe.js"></script>
<!--[if gte IE 6]>
<scriptscript type="text/javascript">var loupePath="vml/";</script>
<script type="text/javascript" src="vml/loupe.js"></script>
<![endif]-->
To add a loupe just set the event onload="initLoupe(this.id);" to an div surrounded image.
<div>
<img id="..." onLoad="initLoupe(this.id);" src="..." width="356" height="205" alt="...">
</div>
In older browsers, the script degrades and your visitors won't notice a thing.
Please read the License before you download loupe.js 1.3
Please read the Frequently Asked Questions before you contact the author.
It's not advisable to use the script multiple times on the same page.
Version 1.3
Please leave any comments at this contact formular.
loupe.js and vml/loupe.js are distributed under the Netzgestade Non-commercial Software License Agreement.
License permits free of charge use on non-commercial and private web sites only under special conditions (as described in the license).
This license equals neither "open source" nor "public domain".
There are also Commercial Software Licenses available.