I'm working on a multiple-file upload component using jquery, it all works well, although i would like the browser to display a thumbnail of the image to be uploaded, before it is uploaded.

As the user will be uploading approx 10-20 pictures at a time, i am displaying a list of the images that were selected (with some options to resize, rename etc) before uploading them. What i am missing is a small thumbnail of the pic to be uploaded. I am not sure if it is possible, as the browser only returns the filename from the input element (as it should) but i am wondering how it would be possible to display a pre-upload thumbnail otherwise?