I have an admin web page, which has 5 textboxes, a fileupload and a "Save" button. In the fileUpload you select an Image file, and, after clicking the button, the image is saved to a location on a local server (the images are saved to \\servername\images\).
Then I have this other page (user page, which has an HTML img component) in which that image I just saved, should display.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<title>Accessing Local Files from Web</title>
<form id="form1" runat="server">
<img id="HTMLImage" alt="Cannot display image" runat="server" src="file://servername/images/Image26.jpg" />
However it doesn't. When I inspect the element (the HTML img) with firebug (or however the one included in google chrome is called), i
View Complete Post