webP images in SilverStripe

Silverstripe Version: 4.5.2

Question:

I have added webp images as a supported Image file type by SilverStripe.

Everything appears to works fine on the front end, Image Manipulation methods all seem to work. The only issue I have is thumbnails are not created in the asset manager in the CMS. Can anyone help me locate the code that looks after this. I am thinking it might be some javascript somewhere as the PHP code looks like it just uses FitMax which works fine on the front end.

## yml
SilverStripe\Assets\File:
  allowed_extensions:
    - webp
  app_categories:
    image/supported:
      - webp
  extensions:
    - Jellygnite\Extensions\FileExtension
SilverStripe\Assets\Storage\DBFile:
  supported_images:
    - image/webp
SilverStripe\Assets\Image:
  allowed_extensions:
    - webp


class FileExtension extends DataExtension {
    private static $class_for_file_extension = array(
        'webp' => Image::class
    );
}

@Jellygnite I know its a bit old thread, I am facing a similar case. I did a convertion of all my non-webp images to webp images. However, thumbnails for those files are not getting generated. Wondering whether you managed to find a way to generate thumbnails for asset manager?

@Kevin_Reynolds I haven’t investigated this any further to be honest so in answer to your question, no sorry.