Thank you Zagato!
It works.
Now, I only use my website as a 'traditional' website and not a blog.
I would like to have a different headerimage on each page.
I thought I could use your idea but then only have one image in the folder you call 'special'.
Then I would obviously have to create many folders within the 'header' folder.
I tried to copy paste your code and create a new code for each 'special' folder. Something like this:
if (is_page('11')) {
$imgpath = TEMPLATEPATH . '/images/header/special1/';
$imgdir = get_bloginfo('template_directory') . '/images/header/special1/';
if (is_page('12')) {
$imgpath = TEMPLATEPATH . '/images/header/special2/';
$imgdir = get_bloginfo('template_directory') . '/images/header/special2/';
if (is_page('13')) {
$imgpath = TEMPLATEPATH . '/images/header/specia3/';
$imgdir = get_bloginfo('template_directory') . '/images/header/special3/';
} else {
$imgpath = TEMPLATEPATH . '/images/header/';
$imgdir = get_bloginfo('template_directory') . '/images/header/';
}
But it certainly doesn't work! (And I know that I am very new to this stuff!)
Do you have an idea of how I can solve my problem with having different header image for each page and sub-page I create?
Thank you a bunch on beforehand,
Lukas
www.friland.org/wordpress (a page in progress. just mock-up for now)