Physical Path for image saving. Asp.net
问题 I have a web project and I saved my images in Physical folders in hdd Like d:\SecretImages\Imagename . But I can't open the files when I have to? I thought if it can saves for examle d:\SecretImages\Temp.jpg , I can open when I have to but, I can't. Help me please, thanks 回答1: You cannot use file paths to show your images. The browser doesn't know where to find the images and the server wouldn't serve them up anyway due to security concerns. You could/should use an HttpHandler to show the