[wp-trac] [WordPress Trac] #35725: Add WebP support.

WordPress Trac noreply at wordpress.org
Thu Apr 1 11:51:14 UTC 2021


#35725: Add WebP support.
-------------------------------------------------+-------------------------
 Reporter:  markoheijnen                         |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.8
Component:  Media                                |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests needs-dev-note dev-feedback              |
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 @desrosj To provide some extra context. The docker hub image for WordPress
 and PHP 8
 https://github.com/docker-library/wordpress/pull/551. That image does not
 include imagick as PHP 8 is not officially supported. See
 https://github.com/Imagick/imagick/issues/358 . It is unknown when the
 official support will come back you can build manually inside the
 container and it does work, or so I am told.



 @mikeschroder To test S3 locally I would recommend something like
 [https://hub.docker.com/r/lphoward/fake-s3 fake-s3] or
 [https://hub.docker.com/r/adobe/s3mock s3mock] docker images. Then it
 should just be a matter of spinning up a WordPress docker image, install
 the plugin and point it to the container. It is easier than setting up a
 real S3 bucket with permissions etc.

 > Personal opinion, for adding WebP support by itself, I think getting
 close is fine for an initial commit, and we can iterate/improve from
 there.

 I also think, that adding WebP that is opt in, as in a user opts to upload
 the file is low risk. We are always tweak these settings later, if we get
 feedback. There is also a filter...

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


More information about the wp-trac mailing list