Preview image before upload?

I would like to use the new FileReference class to allow visitors to upload images to my site. Of course they will want to preview them before hitting the upload button. I can see from the demos I’ve looked at that this is probably not possible (something about filepath being hidden for security reasons?? Heck, if you can’t look at it you shouldn’t be able to upload it either). I could do an immediate download of the uploaded image, which would preview the image, however, that’s not a great option.

Anyway, is there some way to fake it out? Add some javascript somewhere, maybe?

Many thanks for any insights. I’m pretty new to this stuff but I bet lots of people would love to know how to do this.

-jheske