You must set a class for image tags for thumbnail. such this :
.thumbnail {
box-shadow: 0 0 7px #fff;
cursor: pointer;
float: left;
height: 70px;
margin-bottom: 10px;
margin-top: -35px;
width: 70px;
border: 3px solid #ff``f;
border-radius: 3px;
}
and so for example :
<img id="Image1" class="thumbnail" src="..." .../>
and all images resize with css. and for create enlarged image you must use jquery Modal. for Modal read this link : http://www.jacklmoore.com/colorbox/
you must create a jquery file. after click on each image you must call plugin with your src. such this jquery:
$('.thumbnail').on('click', function () {
var src = $(this).attr('src');
$(this).colorbox({ html: "<img src='" + src + "' style='width:1024px;height:728px'/>", width: "1024px", height: "728px", close: "", closeButton: true, scrolling: false, overlayClose: true, scalePhotos: true, escKey: true });
});