Welcome to Alledia, the Joomla SEO Experts

Here at Alledia we provide you with advice and extensions to rank your Joomla! sites high in search engines such as Google, Yahoo and MSN.

You can read the most popular Joomla blog, join the Joomla SEO Club, check out our SEO-friendly Joomla template or attend a Joomla training class.

Home / Design / Different Header Images on Different Pages

04

Jun

2008

Design

Different Header Images on Different Pages

Header Image ModuleThis is a straight-forward tutorial explaining how you can place different header or logo images on different pages of your site. For example, your sports site may need a baseball player on top of the baseball section, a golf player in the golf section and so on.

How Not to Do It

Create a different template for each page. Believe me, I've seen this done with over 30 header image, which means over 30 extra templates.

How To Do It

  1. Make sure all your images are edited and are the correct size. Make sure they are all the same type (all .jpg,  .png or .gif).

  2. Download the Header Image Module which we've blogged about before .

  3. Install it and place it in the area of your site where you want the header to appear. If there isn't a module position available where you want the images, you will need to edit your template's index.php file.

  4. Go to your Menu >> Main Menu. Write down the Itemid of each link. This should be easy to find without opening up each link. Its not neccessary, but if you want to know more about Itemids, click here.
itemid

  1. Rename each image so that it has the Itemid of the page it will appear on. In the above example, we'd create 1.jpg, 6.jpg, 2.jpg and 9.jpg.

  2. Upload these images to a folder on your website. A good choice would be something like /images/stories/header/ so you can upload images via Joomla's Media Manager.

  3. Go to Modules >> Header Image and make your settings correct:

    headerimageguide

Notes

  • Works on both Joomla 1.0 and 1.5.
  • May require a bit of bug-shooting if you're using an SEF URL extension, because of how they handle Itemids.

Comments

(16)Add Comment
David Towers
Good Web Practices
June 04, 2008

Great review Steve! The header image module is definately a great module and this is a fantastic how to! smilies/smiley.gif

Copes Flavio
Copes Flavio
June 04, 2008

Definitely agree with 'Good web practices', this is a great howto, thanks for sharing those tips smilies/smiley.gif

Cory Webb
Cory Webb
June 05, 2008

This sounds great if you have a small number of menu items. If you have a large number of items, that makes it a bit more difficult to work with. I agree that separate templates are not the way to go, but you could just use a separate HTML module for each header, and publish each module to the appropriate pages.

I like the slideshow aspect of this module, though. That is something I need to look into.

Thanks for sharing!

Ulas ALKAN
türkçe sözlük
June 06, 2008

i have tried that module for my J1.0.x web site with opensef but i did not get success smilies/sad.gif

ILJ
ILJ
June 09, 2008

Hi Steve,

is there a feature that upload few images for a content id to make as slideshow? single static image too bored. smilies/cheesy.gif

ILJ
ILJ
June 09, 2008

sorry i retract my post.
never see carefull.
excellent extension. but cost eoru40 smilies/wink.gif

ILJ
ILJ
June 09, 2008

Steve,

Excellent article. going to try on this.
the print screen is totally diff from what i see. is that for J1.5 ?.

ILJ
ILJ
June 09, 2008

What is the thing need to do if using SEF extensions? smilies/shocked.gif
it always load default image now. smilies/sad.gif

ILJ
ILJ
June 13, 2008

Check out Ninjoomla Module .

http://www.ninjoomla.com/demo/index.php?option=com_content&task=view&id=18&Itemid=36

ILJ
ILJ
June 13, 2008

Sorry it shld be this link.Pls delete that.

http://www.ninjoomla.com/index.php?option=com_content&task=view&id=102&Itemid=44

0
Manikandan
June 19, 2008

Iam new for joomla..
your's query for header prob,if i want to change the content's background image for separate page means how its possible?

Plz send me the rply...

ILJ
ILJ
June 19, 2008

@Mani

This commercial module is only for changing images within the modules, not background.
For background, Ninjoomla has some modules.

samara simha
samara simha
July 01, 2008

hi all good morning every body

0
Sulakshana
October 07, 2008

Hi,
The settings shown here are not looking in Joomla 1.5.7
So where can I set different image for different page.
Please guide me.

0
agung
January 11, 2009

nice tutorial. thank you.
in a wordpress site simply use the morning after template, and you'll see your header image rotate as well.

0
annak
March 29, 2009

sulakshana+manikandan asked for a solution to make a different BACKGROUND image for each page (...article). How could this be done? I'd like to know this myself too. (and I mean BAD)

Write comment

 
  smaller | bigger
 

busy