I've been playing with the wp custom header and background options.
I like the way you can tile a small image for the background, and looking for a way to add that option to the custom header image as well.
My theme has a div for the header and I've added the wp custom header like so:
<div class="header"> <img src="<?php header_image(); ?>" height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="" '/>
I can sort of understand that the script is calling for the image src, width & height values entered in the add custom header dialogue, but could use some help to persuade the chosen image to tile.
I tried something like this, but didn't work...
<div class="art-header" style="background-image:url('<img src=<?php header_image(); ?>');> background-repeat:repeat;">
I don't really need the "tile" dialogue when setting the header in wp backend, but just want it to tile automatically if the uploaded image is less than the size of the div