d on parent container size
                                    const parent = img.parentElement;
                                    const width = parent.offsetWidth || 256;
                                    const height = parent.offsetHeight || 256;
                                    img.src = createFallbackImageUrl(width, height);
                                    img.classList.add('loaded');
                                };

                                imageObserver.unobserve(img);
           