title: canvas to image and then upload to server
body: <p>Im trying to save a canvas div and then upload it to the server but i cant manage to make it work. 
  so, this what i do:</p>
  
  <ol>
  <li>i create a canvas div where i will paint with paperjs</li>
  <li>i save that canvas div (dataToURL method)</li>
  <li>i try to upload it, but i doesn't work.</li>
  </ol>
  
  <p>this is the web:
  <a href="http://www.davidpenuela.com" rel="nofollow">www.davidpenuela.com</a></p>
  
  <p>I tested uploading an image to my server with jquery file uploader (<a href="http://davidpenuela.com/test/" rel="nofollow">test jquery uploader</a>) and that script works, but i can make it work when saving from my canvas.</p>
  
  <p><a href="http://www.nihilogic.dk/labs/canvas2image/" rel="nofollow">canvas2image</a> is not working for me, it doesnt upload anything. </p>
  
  <p>EDIT:
  manage to make it work, I will post the way of doing it soon.
  Thanks!</p>