sergey24,
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
$('.gallery').on('click', '.thumbs img', function(event){
var parent = event.delegateTarget;
$('.largeImage', parent).attr('src',$(this).attr('src').replace('thumb','large'));
$('.description', parent).html($(this).attr('alt'));
});
});
</script>