imageHTMLObject issue

can’t dynamically insert img into the dom