[wp-trac] [WordPress Trac] #21100: Uploading Header Images that are too small

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 28 15:13:36 UTC 2012


#21100: Uploading Header Images that are too small
-------------------------+-----------------------------
 Reporter:  MadtownLems  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:
 Severity:  minor        |   Keywords:
-------------------------+-----------------------------
 Prior to 3.4, if you uploaded a Header Image that was too small, you'd be
 prompted to choose a region with the correct aspect ratio and then
 WordPress would scale the region to fit - resulting in a slightly
 pixelated image that at least fit the entire space.

 With 3.4, a button is introduced to "Skip Cropping, Publish Image as Is."
 In my experiences, this keeps leading to much worse looking images than
 cropping and getting a little pixelation.

 Here is an example of a duck outside my building:
 http://imgur.com/a/hTwiN

 When you select a crop region, yes, the image gets slightly distorted, but
 at least it fills the entire space.
 When you publish 'as is', you don't get to choose what gets cropped where,
 and it doesn't even fill the whole space.
 For reference, this theme has a header are of 960x190 and I was working
 with an image sized at 800x534.

 In #wordpress-dev, Sergey suggested displaying a warning when uploading an
 image size that is too small - which I think is a fantastic idea.
 Something like:

 "Your theme wants a header image of 960 wide x 190 high. The image you've
 selected is only 800 wide.  You can proceed with the image, but it may
 result in a distorted header image on your site.  Consider finding a
 larger image to use as your header."

 I think displaying such a warning would be good customer service for users
 who don't know much about image sizes or working with images.  Ideally,
 though, as a Network Admin, I'd actually love the ability to disallow
 selecting too small of images as Header Images completely.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21100>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list