generate image from canvas and load into a preview pane
gm.js added