[wp-trac] [WordPress Trac] #44441: Remove the settings for image dimensions from Settings => Media (was: Remove the settings for "medium" and "large" image sizes from Settings => Media)

WordPress Trac noreply at wordpress.org
Tue Jun 1 19:41:51 UTC 2021


#44441: Remove the settings for image dimensions from Settings => Media
-------------------------+---------------------
 Reporter:  azaozz       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.9
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+---------------------
Changes (by azaozz):

 * milestone:  Future Release => 5.9


Old description:

> We've been using `srcset` and `sizes` img tag attributes for quite a
> while now. When we added them, they were somewhat "new", but now they are
> "mainstream" :)
> (In the browsers this works by disregarding the `src` attribute and
> instead using only the `srcset` attribute.)
>
> This generally means that when creating a post the user is no longer
> constrained in having to choose a specific image size (that has to
> exist). The users can add pretty much any size images, only constrained
> by the theme's `content_width`, and the browser will choose the proper
> image file to download for the specific browser/device for each visitor
> to the site.
>
> In that terms the ability to change the `medium` and `large` sizes "by
> hand" is no longer needed. They are used to support the `srcset` but they
> should not be used as restrain when creating a post and inserting an
> image. Having the `max width` and `max height` settings for them on the
> Settings => Media screen doesn't make sense.

New description:

 WordPress has been using the `srcset` and `sizes` img tag attributes for
 quite a while now. These attributes were somewhat "new" several years ago,
 but are now "mainstream". When they are present the browsers disregard the
 `src` attribute and instead use only the `srcset` attribute.

 This generally means that when creating a post the users are no longer
 constrained by having to choose a specific image size (that has to exist).
 The users can add pretty much any size images, only constrained by the
 theme's width. Then the browser will choose the proper image file to
 download for the specific case/device for each visitor to the site.

 In that terms the ability to change the default image sizes "by hand" is
 no longer appropriate. These sub-sizes are used to support the list of
 available images in the `srcset` attributes. They are not useful as
 restrain when creating a post and inserting an image. Having the `max
 width` and `max height` settings for them on the Settings => Media screen
 doesn't make sense.

--

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


More information about the wp-trac mailing list