Sitecore not allowing WebP image to attached in an image field. Can anyone suggest how to enable that feature so that we can attached webP format image

2 Answers 2


WebP format is not (yet) supported in Sitecore out of the box.

Note that WebP format is not supported in all browsers. WebP should really be generated at runtime and cached. Also you need to check the http accept header for "image/webp" to be know if the browser supports it.

You can upgrade Sitecore with the Kam Figy's Dianoga module https://github.com/kamsar/Dianoga in order to support webP. In your media lib, you still upload normal images like jpeg, gif, png. But at runtime they are converted to WebP for supporting browsers.

  • 1
    note: The current 4.0 version of Dianoga contain some WebP related bugs, be careful Jul 11, 2019 at 7:26
  • If i use file datatype for pulling webP images, will it have a bade effect on code? Jul 11, 2019 at 8:07
  • Add below and try <param desc="Allowed extensions (comma separated)">webp</param> Aug 7, 2020 at 12:14

By default, the media library does not support modern image formats such as WebP. I have written a blog to enable Sitecore cms to upload webp images.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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