This image cannot be processed by the web server. Convert it to JPEG or PNG before uploading

I was trying to upload a .webp image to my WordPress website, after the 5.8 update WordPress says it natively supports webp images. But when I try to upload it get this error:

This image cannot be processed by the web server. Convert it to JPEG or PNG before uploading

How can I fix this?

hmm… this looks like an issue with your web host. Which web hosting service are you using? Open a support ticket maybe?

This website is hosted on InMotion hosting, and yes I’m waiting for support.

Yup! Inmotion doesn’t allow .webp images, maybe due to security issues. Anyway try contacting their support.

What you need is imagemagick I think

1 Like

WebP support should be enabled in ImageMagick or GD PHP extensions. WordPress alone cannot process WebP images if ImageMagic or GD don’t support that. You should contact your host regarding this.