[wp-trac] [WordPress Trac] #14863: dynamic custom image header size

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 14 05:16:23 UTC 2010

#14863: dynamic custom image header size
 Reporter:  a.hoereth        |       Owner:  a.hoereth      
     Type:  enhancement      |      Status:  accepted       
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Thumbnails  |     Version:  3.0.1          
 Severity:  normal           |    Keywords:                 

Comment(by a.hoereth):

 U mean just submit the above code through subversion?
 I though i better would post it here cause it is not finished yet - other
 things need to be changed.

 How would you do it using filters?

 First I didnt want to add a new constant but work with the 2
 HEADER_IMAGE_WIDTH/HEIGHT using three states:
 - fixed size, '940'
 - max size, 'max:940'
 - original size, 'auto'

 This way theme developers would be able to even give a max height but a
 fixed width etc - more flexibility and no new constant. Does this sound

Ticket URL: <http://core.trac.wordpress.org/ticket/14863#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list