Hi,

I have own my theme which i have successfully integrated in Drupal 6.x but now i have required the banner image different on different page so how can i do that? Please help me it's urgent.

Thanks in advanced.

Regards,
Tanveer Hussain

Comments

digicreative’s picture

I'm have the same challenge. Any help would be gratefully appreciated.

Regards,
Matthew

tanveer_2030’s picture

Hi,

I have found the answer of this question so you can use this check in you page.tpl.php.

 if(arg(1) == '3' ) {
    
   echo   "<img src="imagesSrc1" width="960" height="343" />";

  } else  if(arg(1) == '2' ) {
    echo  "<img src="imagesSrc2" width="960" height="343" />";
   } else {
  echo  "<img src="imagesSrc3" width="960" height="343" />";
  } 

This if(arg(1) syntax return the node value.
Check it and let me know if you will face any problems.

digicreative’s picture

Thanks for the help. We've managed to get it working :) The post at http://drupal.org/node/467154 also has some ideas on the topic :)

danreb’s picture

I think this module do this - http://drupal.org/project/headerimage

tanveer_2030’s picture

Thank you really this is very helpful.

dopedwizard’s picture

Good thread thank you. I am going to have to do this on my Project as well.