[wp-trac] [WordPress Trac] #44441: Remove the settings for image dimensions from Settings => Media

WordPress Trac noreply at wordpress.org
Wed Oct 26 19:31:15 UTC 2022


#44441: Remove the settings for image dimensions from Settings => Media
-------------------------+-----------------------------
 Reporter:  azaozz       |       Owner:  joedolson
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  Future Release
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------

Comment (by azaozz):

 @johnregan3 Thanks for the patch! It is a good start but I imagined the UI
 to remove/reset the custom image sub-sizes to be a bit more.

 Thinking the "Reset the custom image sizes" UI should start with a nice,
 longer explanation why these sizes are not useful any more. Mention that:

 - All browsers now use `srcset` and determine the appropriate image size
 automatically for the device and screen size of the website visitor.
 - Themes and plugins will work better on different devices with the
 default image sizes, not unexpected sizes.

 Probably expand a little on these points, etc.

 Then it should list only the sizes that have been changed (and maybe show
 the defaults?). Perhaps something like:


 {{{
  Thumbnail: default size 150x150 pixels, current size: 238x462 pixels.
  Medium:    default size 300x200 pixels, current size: 1280x720 pixels.

  [Reset to default sizes]
 }}}

 Also, a bit on-the-fence whether this settings screen should include a way
 for the user to set a custom image size (only one is enough imho). This
 can be treated as UI back-compat, and may be useful in some cases, but
 perhaps would be better to be added by a simple canonical plugin (see
 https://make.wordpress.org/core/2022/09/11/canonical-plugins-revisited/).
 Such plugin can also list all currently defined sizes (just list, not
 allow editing). More opinions/use cases/ideas welcome :)

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


More information about the wp-trac mailing list