I'm using the code from here:
to resize an image input which is working great. The problem is uploading the resultant image to my server. This is what I want to upload:
<img id="preview" name="img" src="blob:http://127.0.0.1:8081/5878134f-c042-4990-bc00-8e6f198f07f5">
Along with an id, passed in to the template. I'm using bottle.py server side and probably want a file upload via formdata but can't get it to work at all.