Generated img html tag in graphics.js to support #695