How to add image to fabric canvas?
<p>I want to add images/icons to my fabric canvas. The code given on the Fabric demo is not working. </p>

<pre><code>fabric.Image.fromURL('my_image.png', function(oImg) {
canvas.add(oImg);
});
</code></pre>

<p>This just makes my entire canvas blank.
I want to add icons as clickable elements which respond to events.</p>