Load full-sized image

This commit is contained in:
Brian Buller 2021-08-02 09:57:20 -05:00
parent 3ec318af4c
commit d7e581bbed

View File

@ -100,7 +100,7 @@
lbimg.style.height = '';
lbimg.style.width = '100%'
}
lbimg.src = allimages[idx].src;
lbimg.src = allimages[idx].attributes.getNamedItem('data-src').nodeValue;
imgCounter.innerText = "Image " + idx + " / " + imgcount;
timer = setTimeout(() => showImage(++idx), imageTime);
}