I want to add webp images to category thumbnail, how can we do this, it gives below error on adding webp images "File validation failed."

  • Did you resolve your issue? – Shoaib Munir Feb 6 at 10:04

You can have .webp for product images in Magento with our WebP Optimized Images Extension.

With this extension there is no need for manually converting or uploading the .webp files.

Conversion is done automatically, with configurable compression supporting different conversion tools and 100% on your own server with no need to use and pay any 3rd Party Service.


Magento does not support webp images. Use online converter to convert webp image to jpeg then upload it on magento. https://ezgif.com/webp-to-jpg

In order to optimize your website images, use google page speed, it will convert your images to webp on runtime.

  • i know that i am unable to upload webp image to category thumnail it show image not supported – user1799722 Jan 29 at 11:39
  • That's what I am saying, magento do not support webp images, you need to convert it to jpeg then upload it on category thumbnail – Shoaib Munir Jan 29 at 11:42

Have you looked into an image CDN?

Using a CDN like ImageEngine will automatically convert your images to WebP for supported devices. It will even resize your images to the end users device screen size and apply varying rates of compression based on the devices DPI.

Here's a handy guide on implementing it in Magento: https://www.scientiamobile.com/4-steps-to-adding-image-compression-to-magento/

This is a great option because you don't have to manually change your existing images.


I almost feel it is spammy, but just to mention: A free way of implementing WebP is here: https://www.yireo.com/software/magento-extensions/webp2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.