function loadAllImages() {
    document.querySelectorAll('img[loading="lazy"]').forEach(img => {
        img.setAttribute('loading', 'eager');
    });
}

// Before printing (manually or via browser)
window.addEventListener('beforeprint', loadAllImages);
