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

WordPress Trac noreply at wordpress.org
Thu May 20 22:15:01 UTC 2021


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

 * owner:  (none) => antpb
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50943" 50943]:
 {{{
 #!CommitTicketReference repository="" revision="50943"
 Media: Introduces `image_editor_output_format` filter for setting default
 MIME type of sub size image output.

 This change introduces the `image_editor_output_format` filter, which
 fires as sub size images are generated allowing to define a default image
 MIME type for those items.

 Props adamsilverstein, williampatton, spacedmonkey, mikeschroder,
 hellofromTonya, justinahinon, Boniu91, antpb, SergeyBiryukov.
 Fixes #52867.
 }}}

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


More information about the wp-trac mailing list