title: jQuery Mobile - Resize image before uploading
body: <p>I'm working in a jQuery Mobile app that the user can take pictures (with iPhone) and upload it online.</p>
  
  <p>But the iPhone image is big, very big, something like 2448x3264 on pixels size and 3mb file size.</p>
  
  <p>Is there any way to reduce this image locally on the phone and when the user click the upload button the image is uploaded with the reduced size? Like 640x480 and less than 3mb? </p>