Add support for .webp image format in attachment preview

Feature description

Allow .webp images attached to tickets to be previewed by clicking on their thumbnail (similar to other image formats like jpg and png)

Video demonstrating the desired functionality using jpg

webp image attachment example


webp is an up and coming image format that is becoming more and more common on the web. It’s become a semi-regular occurrence for our team to download an image from the web, attach it to a ticket, only to realise it’s a webp, and the usual image preview features in Zammad we rely on aren’t available.

At time of writing webp is natively supported in every major browser:

Is this urgent?

Not a huge issue - it’s still possible to download and open the file directly in the browser to view the file. This adds extra steps to the process though, the Zammad preview feature is much more convenient.

Previous tech support post on this issue