devices.forEach(device => {
                const deviceFrame = document.createElement('div');
                deviceFrame.className = 'device-frame';
                
                const img = document.createElement('img');
                img.onerror = (e) => console.error('Failed to load image:', e);
                img.onload = () => console.log('Image loaded successfully');
                
                const cleanBase64 = device.frame.trim().replace(/\s/g, '');
                img.src = `data:ima