 document.querySelectorAll('.book-image');
            images.forEach(img => {
                img.onload = function() {
                    this.style.display = 'block';
                    this.previousElementSibling.style.display = 'none';
                }
                img.onerror = function() {
                    console.error('Failed to load image:', this.src);
                    this.previousElementSibling.textContent = 'Image not found';
                }
            });
        });
    </scrip