rtDiv.append(canvasDiv)
        viewportContainer.append(viewportDiv)

        const element = canvasDiv;
        cornerstone.enable(element);
        const imageId = `wadouri:${url}`;
        let loaded = false;

        canvasDiv.onmouseover = () => {
            canvasDiv.style.position = 'absolute'
            canvasDiv.style.width = '512px'
            canvasDiv.style.height = '512px'
            canvasDiv.style.zIndex = '10';
            cornerstone.resize(element, true);
        }
        canvasDiv.o