[wp-trac] [WordPress Trac] #62413: WordPress 6.7 Auto-sizes Reducing Image Sizes

WordPress Trac noreply at wordpress.org
Fri Nov 15 19:40:42 UTC 2024


#62413: WordPress 6.7 Auto-sizes Reducing Image Sizes
-------------------------------------------------+-------------------------
 Reporter:  dooperweb                            |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.7.1
Component:  Media                                |     Version:  6.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-testing-info has-patch has-      |     Focuses:
  unit-tests needs-refresh                       |  performance
-------------------------------------------------+-------------------------

Comment (by azaozz):

 Replying to [comment:14 youknowriad]:
 > @azaozz it seems possible to disable the `auto` attribute using this
 filter here https://core.trac.wordpress.org/ticket/61847#comment:23

 Right, I actually used very similar code for testing.

 > Do you think we should offer a more straightforward filter

 Frankly at first I thought another filter may be overdoing it. But while
 chatting about this with @joemcgill yesterday changed my mind and now
 thinking it may be preferable to have a more granular/straightforward way
 to control or disable adding of `auto` to `sizes` attribute.

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


More information about the wp-trac mailing list