html结构
<div id="gallery2" class="gallery" >
<a href="/images/original/大图" title="Caption for image A">
<img src="/images/thumbnail/小图">
</a>
</div>
js使用方法
$(
'#gallery2').
rebox({
selector:
'a' });
js下载 http://trentrichardson.com/examples/jQuery-Rebox/