You do not need to do this. Since the tour image is wrapped inside the anchor tag, when you click on the image, it will be considered a click on the anchor tag.
. javascript , .
$(function(){
$(".link_for_image").click(function(e){
e.preventDefault();
var item=$(this);
window.location.href=item.attr("href");
});
});