title: Upload images with jQuery modal dialog sample
body: <p>Does anyone know any projects/demo etc that could show me the following,</p>
  
  <p>clicking on an "Upload image" link on the page and a jQuery modal dialog shows up with a form that lets the user uploads an image from the computer or specify a link to an image on web.  Then the image is ajax uploaded and it shows up a thumbnail on the modal dialog, after that the user clicks the image the modal dialog disappears and the according html snippet is inserted to an textarea (I'm using TinyMce here).</p>
  
  <p>This pretty much is what WordPress does, but WordPress is too complex to learn from.  Does anyone know an easier sample, preferably an ASP.NET MVC app, or could someone point me to what needs to be done please?</p>