id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 17242,Themes: Allow flexible sizes for custom header uploads,lancewillett,,"If a theme allows flexible header images the custom header feature should adjust the crop settings on upload to let the image through. '''Theme Support''' {{{add_theme_support( 'flexible_header_image_upload', 1000, 200 );}}} [[BR]] Where 1000 is the maximum width and 200 is the maximum height allowed. '''Custom Header Code''' If the theme_support option exists and passes second argument (dimension as an integer), and the uploaded image dimension is higher, crop to size. If the uploaded image dimension is lower, save it with no crop. If the option is on but dimension value is false or 0, let any size through (no crop at all). '''Admin UI''' If a theme supports this, list the maximum dimensions in Appearance > Header. If no maximums are defined, leave it blank.",enhancement,new,normal,3.2,Themes,,normal,,needs-patch 2nd-opinion,ian@… mv@… lance@…,