[wp-trac] [WordPress Trac] #48332: Image crop settings

WordPress Trac noreply at wordpress.org
Wed Oct 16 21:01:23 UTC 2019


#48332: Image crop settings
--------------------------+------------------------------
 Reporter:  AllysonSouza  |       Owner:  (none)
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.2.3
 Severity:  trivial       |  Resolution:  fixed
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------
Changes (by joemcgill):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Hi @AllysonSouza. Thanks for the question and welcome to Trac! Medium and
 large sizes are by definition meant to be uncropped resizes of the
 original. These sizes also get used to fill out the `srcset` attribute for
 responsive images. If a theme wants to display an image at a specific
 dimension it's best to use register specific sizes using
 `add_image_size()`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48332#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list