[wp-hackers] the_post_thumbnail 'full' with no width/height attr

Kevin Newman CaptainN at unFocus.com
Tue Feb 15 18:09:33 UTC 2011


On 2/15/11 1:03 PM, Otto wrote:
> You'd have to build it manually. WordPress always puts those there
> because without them, you have to wait for the image to load before
> the page will render, since the browser can't reserve the space for it
> until it knows the size it will be.
>
> -Otto
I understand why it outputs the width and height, I just wanted to be 
able to override the default values, because I have a case where I don't 
want that behavior.

Kevin N.



More information about the wp-hackers mailing list