for(let i = 0; i < input.files.length; i++) {
const r = reader[i] = new FileReader();
r.addEventListener('load', function () {
(document.querySelectorAll('.blah3'))[i].setAttribute('src', r.result);
}, false);
r.readAsDataURL(input.files[i]);
}
for(var i = 0; i < input.files.length; i++) {
var r = reader[i] = new FileReader();
r.addEventListener('load', function () {
(document.querySelectorAll('.blah3'))[i].setAttribute('src', r.result);
}, false);
r.readAsDataURL(input.files[i]);
}