To put it simply, you can't. Well at least not cross platform, cross browser. Using swfupload.
HTML 5 supports this functionality but is not universally supported.
Your only real solution is to upload the image in the background, preview it server side, then using ajax update a HTML element with the preview.
Not ideal, especially for large images.
James.