Skip to content
// Existing image replacement code
document.querySelectorAll('.list-count img').forEach(img => {
const fullSizeUrl = img.src.replace(/-(\d+x\d+)\.(jpg|png|webp)/, '.$2');
const newImg = new Image();
newImg.src = fullSizeUrl;
newImg.className = img.className;
newImg.alt = img.alt;
img.parentNode.replaceChild(newImg, img);
});
});