Image problem in IE 7

I am developing a site using asp.net and C # (framework 1.1). Provides the user with the option to upload their photo and the upload is done in 2 steps. 1. The user selects the photo and the photo is displayed for viewing 2. The database call is made and uploaded to the server

In IE6, the photo is displayed in view mode (from users' system) But in IE7 it is not displayed if it is not uploaded to the server.

Is there any workaround for this ????

0


source to share


2 answers


This is probably a security issue. IE6 probably agrees to display images with paths from local disk, which could be a security vulnerability. Also try it in firefox, i guess it won't work either. So you're left with uploading the photo in step 1 and just doing the database stuff in step 2; Or don't show the photo for viewing ...



+3


source


It really depends on how you store the photo temporarily before showing it to the user for viewing. Do you store it in a temporary file? Is this a drop in your memory? It should be shown, so I would check that it is loading and not just hidden by some silly CSS difference. Use IEDevToolbar to see if the image is there. If so, use Fiddler to see if the file actually descends in the browser.



Unfortunately there are too many variables for me to make a hit on this, sorry.

0


source







All Articles