[wp-trac] [WordPress Trac] #52867: Add capability to set default format for image sub-sizes.

WordPress Trac noreply at wordpress.org
Fri May 14 19:39:53 UTC 2021


#52867: Add capability to set default format for image sub-sizes.
-------------------------------------------------+-------------------------
 Reporter:  adamsilverstein                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.8
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback has-unit-     |     Focuses:
  tests needs-testing has-testing-info           |
-------------------------------------------------+-------------------------

Comment (by antpb):

 Hey there @Boniu91 ! I'm curious, are you seeing any sub sizes being
 created as WebP? I see you are using what looks like the originally
 uploaded image. The scope of this ticket and patch will cover all of the
 sub sizes but not the originally uploaded file. Try and edit the block you
 have to use the `medium` or `thumbnail` size and see if those are WebP.

 I'll wait on merging this to confirm that it's performing as expected for
 you as well. In my testing it has worked well with WebP enabled
 configurations. The only thing pending on my end is verifying that not
 having WebP enabled works as expected with a fallback.

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


More information about the wp-trac mailing list