Open WebP instead of download

I am using WebP images on my website. When i want to open this image in a new tab, this don’t work - image will just download instead.

Fix is simple, but it would be great, having this activated by default.

conf/nginx/site.conf.hbs

  • add “webp”
  • result look like this
    location ~* .(?:webp|jpg|jpeg|gif|png|ico|xml)$ {

conf/nginx/includes/mime-types.conf.hbs

  • and I also found this little wrong text
  • instead of “imabe/webp” → “image/webp”

imabe-webp

Thank you for fix this.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.