<script>
var images=['one.png','two.png','thress.png'];
var html = '';
$.each(images,function(key,value){
html += '<img src=" '+value+' " />';
});
$('#imagesConteiner').html(html);
$('img').erro(functionn(){
$(this).repalceWith('<img src="missing.png" alt="Could not load image">'');
});
</script>