Changes between Version 3 and Version 22 of Ticket #44441
- Timestamp:
- 06/01/2021 07:41:51 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44441
- Property Milestone 5.0 → 5.9
- Property Type defect (bug) → enhancement
- Property Summary Remove the settings for "medium" and "large" image sizes from Settings => Media → Remove the settings for image dimensions from Settings => Media
-
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.) 1 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. 3 2 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.3 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. 5 4 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 usedas 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.5 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)