jQuery image Thumbnail plugin
in browser
<link href="/path/to/h-smart-thumbnail.css" rel="stylesheet">
<script src="/path/to/h-smart-thumbnail.js"></script>
Stack your images in ul
like
<div class="h-smart-thumnail">
<ul>
<li><img src="path/to/img"/></li>
<li><img src="path/to/img"/></li>
<li><img src="path/to/img"/></li>
<li><img src="path/to/img"/></li>
......
</ul>
</div>
Call H-Smart-Thumbnail plugin
$('.h-smart-thumnail').hSmartThumbnail();