I'm attempting to add an image to a canvas element. Consider this code snippet (http://jsfiddle.net/n3L6e1wp/). I am aiming to replace the text shown in the canvas with an img tag. I have attempted to substitute the content of the div with:
<img src='<%= asset_path('layout/image.jpg') %>' id='picture' style='max-height:100%'>
However, nothing appears and I'm unsure if it can even be done.
Thank you in advance!