Show an image in my header.php

WordPress contains built-in support to select header images for a theme. You only have to indicate that your theme supports this, by calling add_custom_image_header(). See the Twenty Ten initialization for details.

In your theme’s header.php you then call header_image() to get the current header image.