<divid="imageholder"><%foreach (var o in photos){ %><imgsrc='<%=ConfigurationManager.AppSettings["UploadedFilesDirectory"]+o.filePath %>'alt="No Images"/><br/><% } %></div>And the value of ConfigurationManager.AppSettings["UploadedFilesDirectory"] is ~/uploadedFiles but the image does not show up on firefox.