html
<a href="<?php echo RESOURCES_BASE_FOLDER;?>image/default_pic.jpg" target="_blank" class="vlightbox">
<img src="<?php echo RESOURCES_BASE_FOLDER;?>image/default_pic.jpg" width="30" height="30" alt="">
</a>
js
window.Lightbox = new jQuery().visualLightbox({
autoPlay:false,
borderSize:15,
classNames:'vlightbox',
closeLocation:'top',
descSliding:true,
enableRightClick:false,
enableSlideshow:true,
resizeSpeed:7,
slideTime:4,
startZoom:true
});
http://www.justinbarkhuff.com/lab/lightbox_slideshow/