Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading an image with IE7

Status
Not open for further replies.

jb13

Programmer
Oct 12, 2006
11
CA
Hi,

I have coded a little image preview before upload. The script show the picture the user selected on his computer before uploading it to the server.

The script used to work fine with IE6, but doesn't work anymore with IE7. This instruction is suppose to load the image in my variable: "imagePreview.src = path_to_image_on_client_pc;"

But with IE7, nothing happens... Any idea ?

Thank you for your help
 
Well, i'm not sure its the same problem but i think it's just security settings, i guess i can't show an image preview from the client computer in IE7 whitout adding the page to Trusted Sites, it works fine when i do it.
 
>it's just security settings...
That's what I meant.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top