The page Graham gives you is the place to start. The popular name is:
Customize the Ribbon (It doesn't take rocket science)
Once you have mastered that, you can go on to custom images. He has written three pages on Ribbon images, beginning with:
Ribbon Images & Labels Part I