29 Dec 2008
16 Dec 2009
Link to this post
I am setting up a template for a site. I place the company logo in the header div of the template. If I create a child page of the home page the logo does not appear.
I tried ~/image/logo.jpg and image/logo.jpg for the image path in the image tag. The top pages like home has no problem showing the logo with image/logo.jpg. If I use ../ the child pages are able to the see the image, however that messes up the parent pages.
I have the logo in my image directory under themes, and also created image directory in the root of the site. I am using the IIS built into VS2008 to display the site, in case that makes a differences.
What is the best way to handle this?