Image Preview Problem

Hi All,

I use a fileupload control to allow the user to select an image.

I then want to show the image (preview) to the user before saving to ensure they have selected the correct image.

Trouble is the asp:Image control expects a URL and I dont particularly want to copy the image temporarily to the WebServer.

does anybody know of a way to do this?

Thanks
[401 byte] By [Bill Crawley] at [2007-11-20 11:45:54]
# 1 Re: Image Preview Problem
You could take the path of the image before it is uploaded (c:\path\to\image.jpg) and make that the source. However, thanks to Microsoft, IE7 no longer allows that to take place. But it would still work in all other browsers.

Other than that, you would have to upload a temporary to your web server.
PeejAvery at 2007-11-9 11:54:08 >