<script>
$(document).ready(function(){
var a1= '<a href="http://website.ru/"><img src="';
var a2= 'alt=" " border="0"></a>';
$("div.item.active > img").each(function () {
$(this).replaceWith(a1+$(this).attr()+a2);
});
});
</script>
<div class="item active">
<img src="/alboms/3/7/slide_1.jpg" alt=" ">
</div>
<div class="item ">
<img src="/alboms/3/7/slide_2.jpg" alt=" ">
</div>
<div class="item ">
<img src="/alboms/3/7/slide_3.jpg" alt=" ">
</div>
</div>