Fabric js how to add text on image
<p>I need to add text on img object
my code </p>

<pre><code>$("#c2").click(function(){
fabric.Image.fromURL('/some/link/free_circle_2.png', function(img){
    img.setWidth(50);
    img.setHeight(50);
    canvas.add(img);

  });
});
</code></pre>

<p>after adding image i need add number centered of this image.
I know i need to change <code>canvas.add(img);</code> to <code>canvas.sendToBack(img);</code> but how to add text keeping the position of the image</p>