Upload, download and display images from web server
-
Hi, I would like to know how do I able to upload an image and display it again from the web server? Currently I am using "this.filePic.PostedFile.SaveAs(image);" but this one need a rooted file path, it works only for uploading and downloading but the file path stored in my database will give a problem when I need to display the picture. Thanks in advance. J Liang
-
Hi, I would like to know how do I able to upload an image and display it again from the web server? Currently I am using "this.filePic.PostedFile.SaveAs(image);" but this one need a rooted file path, it works only for uploading and downloading but the file path stored in my database will give a problem when I need to display the picture. Thanks in advance. J Liang
HI, Store just the ImageName of saved image. And use Server.MapPath("imagenamesavedfromdatabase") function THis function return the ImagePath of your FileSystem Where the image stored in the server.
Naresh Patel
-
HI, Store just the ImageName of saved image. And use Server.MapPath("imagenamesavedfromdatabase") function THis function return the ImagePath of your FileSystem Where the image stored in the server.
Naresh Patel