send base64 img string back to parent window along with chart JSON