Image is not showing
-
Hi, I'm facing a problem. I'm giving different image path in my project. The path i'm giving is in project folder, it's in another location. i'm using datalist. The file path is coming correct but image is not showing. Please give me solution. Its urgent. Thnax..
krishna veer singh
-
Hi, I'm facing a problem. I'm giving different image path in my project. The path i'm giving is in project folder, it's in another location. i'm using datalist. The file path is coming correct but image is not showing. Please give me solution. Its urgent. Thnax..
krishna veer singh
Always place virtual path to the image. A path which can directly called to the server to get the image. No client can see an image if the image is somewhere other than to valid virtual path.. Also it is better to use Relative path, relative to the root of the virtual directory. ;)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript -
Hi, I'm facing a problem. I'm giving different image path in my project. The path i'm giving is in project folder, it's in another location. i'm using datalist. The file path is coming correct but image is not showing. Please give me solution. Its urgent. Thnax..
krishna veer singh
try to do As Abhi suggested..!
krishnaveer wrote:
m giving different image path in my project.
Copy the image from tht path and store it in your localserverfolder and access tht image..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
try to do As Abhi suggested..!
krishnaveer wrote:
m giving different image path in my project.
Copy the image from tht path and store it in your localserverfolder and access tht image..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
I have copied the path and paste it into window explorer, its showing the image. But the same url is not working when m using it in project.
krishna veer singh
-
I have copied the path and paste it into window explorer, its showing the image. But the same url is not working when m using it in project.
krishna veer singh
You Misunderstood my friend..! i told you to copy the image from local server drive programatically and store it in your server.MapPath as you are doing for file upload control and now you access the image..! AFAIK You cant access the image directly from the local drive..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
Always place virtual path to the image. A path which can directly called to the server to get the image. No client can see an image if the image is somewhere other than to valid virtual path.. Also it is better to use Relative path, relative to the root of the virtual directory. ;)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using JavascriptHi, Right click on your image and copy image address and paste this on browser directly, If your image is display then your path is correct, otherwise use relative path.
Farogh Haider Web developer