Click here to Skip to main content
15,897,334 members
Articles / Web Development / ASP.NET

Image Path problem from master page

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
3 May 2012CPOL 0  
can you try with following tag.Here i have given the path using the symbol ~ src="/Images/header_image.jpg"

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
3 May 2012Sandeep Mewara
Have a look at this Tip to avoid such issues: Resolving Paths in a Multi-Folder WebSite[^]
Please Sign up or sign in to vote.
30 Jul 2023krunal25 4 alternatives  
Hello everyone,I am making a website in asp.net which has a master page at root level , and a child page in a folder.E.g Helpdesk root level - MasterPage1.masterHelpdesk/School (folder)/SchoolEntry.aspx PageHelpdesk/Images(folder)/header_image.jpegNow the master page has image on...
Please Sign up or sign in to vote.
3 May 2012Mr. Mahesh Patel
Hi dear,Understan the michanism to rout the fileRoot (0) Images (1) header_image.jpg (1.0) School(1)If your master page is Rool Directory (0) and image is at (1.0)then you should have to travel minus step up to root by using the sign of "../"So your image...
Please Sign up or sign in to vote.
3 May 2012sravani.v
Try this:or

License

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


Written By
Software Developer
India India
Have been working as a software developer for 5 years.I passionate to share my practical knowledge in development to others

Bhaskar
Http://www.aspdotnet-sharepoint.com

Comments and Discussions