Uploading Header Images that are too small
|Reported by:||MadtownLems||Owned by:||ryan|
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:
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.
Change History (17)
comment:9 SergeyBiryukov — 18 months ago
- Keywords has-patch added; reporter-feedback removed
- Milestone changed from Awaiting Review to 3.5