Using Toolbox to push image from Javascript/HTML


I’m trying to push an image from a HTML Canvas using Javascript and the Toolbox plugin. I can push the src to a text box, but don’t get the image in the same way.

(I also tried to set the src of the image in Javascript using the element ID, but didn’t get it to work either).

Am I way off here?