[wp-trac] [WordPress Trac] #18799: Image editor crops specific image widths
WordPress Trac
noreply at wordpress.org
Fri Oct 26 21:54:40 UTC 2012
#18799: Image editor crops specific image widths
-------------------------------------+--------------------
Reporter: squirreling | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------
Comment (by bpetty):
FWIW, I tested a whole bunch of the fail case images attached here with
and without this line in Twenty Twelve functions.php:
{{{
add_image_size( 'any_name', 550, 400, true );
}}}
In all cases, it didn't crop any of them on any side at all. It also
didn't scale down anything smaller than or exactly equal to 400x400px. In
all cases, aspect ratio was respected for images bigger than 400px in
either direction (which were all scaled for the image editor).
Not that I suspected this was the cause, but just covering bases, I also
tested with both WP_Image_Editor implementations (GD and IM), and still
couldn't reproduce.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18799#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list