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


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.

| improve this answer | |
  • note: The current 4.0 version of Dianoga contain some WebP related bugs, be careful – Jan Bluemink Jul 11 '19 at 7:26
  • If i use file datatype for pulling webP images, will it have a bade effect on code? – Shrikant Sahu Jul 11 '19 at 8:07
  • Add below and try <param desc="Allowed extensions (comma separated)">webp</param> – rajender patel Aug 7 at 12:14

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.