<html>
<head>
<title>Link on image</title>
<!-- link to magicthumb.css file -->
<link href="magicthumb/magicthumb.css" rel="stylesheet" type="text/css" media="screen"/>
<!-- link to magicthumb.js file -->
<script src="magicthumb/magicthumb.js" type="text/javascript"></script>
</head>
<body>
<h4>The enlarged image can link to another page.</h4>
<!-- define Magic Thumb -->
<a href="images/imac-family-600.jpg" class="MagicThumb" rel="link: http://www.magictoolbox.com/magicthumb/"><img src="images/imac-family-90.jpg" alt=""/></a>
<p>Page opens in the same window. Click middle button (mouse wheel) to open in a new window.</p>
<h4>Same link, but opens in a new window</h4>
<!-- define Magic Thumb -->
<a href="images/imac-family-600.jpg" class="MagicThumb" rel="link: http://www.magictoolbox.com/magicthumb/; link-target: _blank"><img src="images/imac-family-90.jpg" alt=""/></a>
<p>Note: Your browser may prevent from opening a new window if this example is opened from local disk.</p>
</body>
</html>