Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a master page with set of images. While taking the web form in root of the project images are not displaying correctly, but when I created a new folder and there I am taking the new web form with master page. In this case i am getting problem. Images are not displaying. I don't know what the problem is.

Can any one help me.....I am thankful to you...
Posted
Updated 16-Feb-11 2:29am
v3
Comments
fjdiewornncalwe 16-Feb-11 8:29am    
Just cleaned up the question a bit...

The first thing to do is show us one of the image tags that are not displaying correctly. My hunch is that you have to update the image source value to include the correct relative path based on the page location, but I can't verify that completely without seeing at least one of the tags.
 
Share this answer
 
Sounds like it has to be relative path issue only. I would suggest you to use this Tip and resolve the path correctly before setting the image source: Resolving Paths in a Multi-Folder WebSite[^]
 
Share this answer
 
Hope the following link will help you out:
URLs in Master Pages
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900