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

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 15 08:57:00 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):

 Ok.. Problem about using the same constants is that you can not change
 their values.
 Some Themes already use these Constants and would break if their value
 consists something like "max:"..

 If these constants are changed we need new functions like
 header_image_width() which echos the HEADER_IMAGE_WIDTH without "max:" or
 if HEADER_IMAGE_WIDTH == "auto" echos the actual image width - not the
 value of the constant.


 Is no one else interested in a feature like this?

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


More information about the wp-trac mailing list