<input type="file" class="jquery_file_upload" multiple accept="image/*" name="majorImg" />
<img id="showimg" src="" />
$(document).on("change", "input[name='majorImg']", function () {
readURL(this);
})
function readURL(input) {
$.each(input.files, function (index, row) {
var reader = new FileReader();
reader.onload = function (e) {
$("#showimg").attr('src', e.target.result);
}
reader.readAsDataURL(row);
});
}