Advertisement

04.29.2008 at 01:42PM PDT, ID: 23363582
[x]
Attachment Details

display local image file in <img> tag

Asked by drictor in JavaScript, Programming for ASP.NET

Tags: Javascript, c#, asp.net, IE, FF, Safari

I've got an interesting problem, and I'm not sure what the probem is. I've got a web app that works by displaying an image file in an <img> tag, and I need to be able to open an image file that's local to the user's machine.

However, due to security restrictions (especially on newer browers), you're not generally allowed to display a local image file in an <img> tag.  The only way I can seem to do it is to upload the file to the server and then set the src attribute of the <img> tag to display the uploaded file.  This is highly cumbersome, time consuming, and since these are medical images, may violate HIPPA restrictions.

Any thoughts on how I can get around this?  I'm stumped...Start Free Trial
 
Loading Advertisement...
 
[+][-]04.29.2008 at 01:57PM PDT, ID: 21466125

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 02:48PM PDT, ID: 21466506

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 04:32PM PDT, ID: 21467101

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Programming for ASP.NET
Tags: Javascript, c#, asp.net, IE, FF, Safari
Sign Up Now!
Solution Provided By: b0lsc0tt
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.01.2008 at 09:12AM PDT, ID: 21479977

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628