<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">If you're wanting to do a tiled background in some fashion, then I'd<br>
say to not use the custom header functions at all, as that just<br>
promotes end-user confusion. Do something totally custom instead.<br></blockquote>
<br>That was the reason why I had stayed away from this function up to this point and had something custom.<br><br>So a question for the reviewers - the <a href="http://codex.wordpress.org/Theme_Review">review guidelines</a> state:<br>
<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">Theme is <b>recommended</b> to incorporate the following WordPress core functionality, but is <i>not required</i> to do so. However, if incorporated, functionality must support the core WordPress implementation: <br>
</blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">... <br></blockquote><div></div><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
add_custom_image_header().<br></blockquote><div> </div><div></div>Is it okay to not use the above function with a custom header then?<br><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 3:58 PM, Otto <span dir="ltr"><<a href="mailto:otto@ottodestruct.com">otto@ottodestruct.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, Sep 7, 2011 at 5:31 PM, Sayontan Sinha <<a href="mailto:sayontan@gmail.com">sayontan@gmail.com</a>> wrote:<br>
>> See, images have sizes, in pixels. They aren't "fluid". They don't<br>
>> scale up well. So if somebody uploads a 50x20 pixel header, are you<br>
>> planning on scaling it across the whole screen? That might look like<br>
>> crap, eh?<br>
><br>
> I was thinking of tiling. Basically I was planning on providing options to<br>
> tile the image to span the entire width. Basically the image doesn't have to<br>
> be loaded via an img tag, but via the background to a div. The div can still<br>
> respect the height you provide to it and then span the width.<br>
<br>
</div>But you still have to specify a size for the image. It can't be "any"<br>
width. The cropper needs to know the ratios. It needs to know what<br>
size width to scale the resulting image created to. HEADER_IMAGE_WIDTH<br>
must be a number, not a percentage.<br>
<br>
See, a "header" is generally a single image across the top of the<br>
site. That's why it's called "add_custom_image_header" and not just<br>
"add_custom_header", because it's not a tiled background.<br>
<br>
If you're wanting to do a tiled background in some fashion, then I'd<br>
say to not use the custom header functions at all, as that just<br>
promotes end-user confusion. Do something totally custom instead.<br>
<div><div></div><div class="h5"><br>
-Otto<br>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sayontan Sinha<br><a href="http://mynethome.net" target="_blank">http://mynethome.net</a> | <a href="http://mynethome.net/blog" target="_blank">http://mynethome.net/blog</a><br>
--<br>Beating Australia in Cricket is like killing a celebrity. The death gets more coverage than the crime.<br><br>