WordPress.org

Make WordPress Core

Changes between Version 3 and Version 22 of Ticket #44441


Ignore:
Timestamp:
06/01/2021 07:41:51 PM (6 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44441

    • Property Summary changed from Remove the settings for "medium" and "large" image sizes from Settings => Media to Remove the settings for image dimensions from Settings => Media
    • Property Type changed from defect (bug) to enhancement
    • Property Milestone changed from 5.0 to 5.9
  • Ticket #44441 – Description

    v3 v22  
    1 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" :)
    2 (In the browsers this works by disregarding the `src` attribute and instead using only the `srcset` attribute.)
     1WordPress 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.
    32
    4 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.
     3This 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.
    54
    6 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.
     5In 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.