title: Insert an img tag into Canvas element
body: <p>I'm trying to insert an image into a canvas element. Take this code for exemple (<a href="http://jsfiddle.net/n3L6e1wp/" rel="nofollow">http://jsfiddle.net/n3L6e1wp/</a>). I want to replace the text displayed in the canvas by an img tag.
  I've tried to replace the content of the div by :</p>
  
  <p><code>&lt;img src='&lt;%= asset_path('layout/image.jpg') %&gt;' id='picture' style='max-height:100%'&gt;</code></p>
  
  <p>But nothing displays and I'm not even sure I can do this.</p>
  
  <p>Thanks in advance !</p>