extract image, window.open