 <p>the image you want to draw is from a different domain than yours, so a security error is thrown. </p> <p>Please see the following topic for further explainations <a href="http://stackoverflow.com/questions/2390232/why-does-canvas-todataurl-throw-a-security-exception">Why does canvas.toDataURL() throw a security exception?</a></p>