I did a search of these forums and found a quite simple solution.
Instead of messing with the php files you can insert Dynamic Headers by simply pasting the following in the Configure Header Area box
HTML Code:
<div id="dheader"><?php if(function_exists('show_media_header')){ show_media_header(); } ?></div>
Go to:
Style & edit HEADER AREA > Configure Header Area and paste
HTML Code:
<div id="dheader"><?php if(function_exists('show_media_header')){ show_media_header(); } ?></div>
in the position you want it to show. You most likely will want to remove %image and set Dynamic Headers to show random or default image if no image is selected for a page. The Configure Header Area box may look something like the following.
%logo %pages %bar1 <div id="dheader"><?php if(function_exists('show_media_header')){ show_media_header(); } ?></div> %bar2
The id is so you can style the container for the Dynamic Header image. The minimum CSS I would suggest adding to ATO>Add HTML/CSS Inserts>CSS Inserts would be the following.
HTML Code:
#dheader {
overflow: hidden;
}
Thanks to
eyup for this solution.