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

WordPress Trac noreply at wordpress.org
Fri May 14 22:36:39 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):

 Tested on a non-WebP enabled version of PHP with success! 🎉

 Tested on PHP 5.6.39 with WebP not available. Uploaded large jpg with the
 modern image plugin setting the default to WebP. With WebP not available,
 the fallback of jpg is used with success.

 The last test case needed is AVIF support.
 `If your system supports AVIF, try outputting in AVIF - turn on under
 Settings->Media.`

 Getting my non-WebP configuration working took longer than expected so I'd
 like to commit this on Monday when I'll have more time to watch it after
 merge.

 Pending the above report of it not working, this will be ready to go!

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


More information about the wp-trac mailing list