-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP: Support libwebp on PHP 7.0 – 7.3 #1381
Comments
@sejas just to make sure – does this work in regular WordPress? |
Yes! I tried it in a regular WordPress without plugins and it worked without any issues. |
From the "Using WebP images" section of the WP WebP announcement post:
It looks like libgd ought to support webp now based on libgd/libgd#698 merging. But Playground doesn't appear to support webp. From the Playground WP-CLI demo:
In Playground, PHP loads the "gd" extension, but WP doesn't think the image editor supports webp. Some possibilities:
|
We'd likely need to build GD with libwebp. |
webp
images into Media Librarywebp
images into Media Library
This is now resolved for PHP >= 7.4, but not for 7.0 – 7.3. How important is webp support in these version for you @sejas? |
webp
images into Media Library
Thank you for fixing the webp issue for PHP 7.4+. You are Awesome! The main reason we don't need to support older versions is that PHP 7.4 and even 8.0 are already deprecated. Versions lower than 7.3 do not appear in the chart 😆. |
Some Studio users reported an error uploading
webp
images to the Media Gallery.Steps to reproduce:
This image cannot be processed by the web server. Convert it to JPEG or PNG before uploading.
Workaround
1.webp
to1.jpg
in your computer.webp
extensionScreencast
webp-error-and-workaround.mp4
The text was updated successfully, but these errors were encountered: