Ok guys,
Put this in header.php of your template replacing the existing <body> tag:
<body id="body<?php $bodyid=$_SERVER['REQUEST_URI']; echo substr($bodyid,1,4);?>">
Then every page will create a unique body id, you can view the source on each page to see the different body id’s.
Then throw another div id in your template where you want the photo(s) to appear, I used <div id="headerimage"></div>
Then use CSS to display the different photos based on the body id. Here’s an example of the CSS I use to show a different header image on every page or section of a website:
#body #headerimage{
margin-top: 0px;
height: 222px;
width:968px;
margin-left:11px;
background-image: url("images/header/front.jpg");
}
#body * #headerimage{
margin-top: 0px;
height: 222px;
width:968px;
margin-left:11px;
background-image: url("images/header/front.jpg");
}
#bodyabou #headerimage{
margin-top: 0px;
height: 222px;
width:968px;
margin-left:11px;
background-image: url("images/header/about_us.jpg");
}
#body * #headerimage will show this picture when/if no picture is assigned to the body id.
#bodyabou #headerimage is my About Us page, this shows a different photo as well……I think this should be enough to get you guys going…..
If you have any more question I’ll try to reply as quick as I can….