Hello!

Problem/Motivation

WebP extension is not in the allowed formats list of the module, so images are bypassed and cant be downloaded.

Steps to reproduce

return [
            '#theme' => 'imagecache_external',
            '#uri' => 'https://amp.dev/static/inline-examples/images/mountains.webp',
            '#style_name' => 'thumbnail',
            '#alt' => ''
        ];

Proposed resolution

A patch is joined to this issue, where webp is manually added to the existing lists.
2 files are updated.

Thank you

Comments

mathieum created an issue. See original summary.

swentel’s picture

Version: 3.0.0 » 3.0.x-dev
Status: Active » Needs work

Makes sense.

We'll need an update hook though to resave settings on an existing install.

  • swentel committed 486c21f on 3.0.x
    Issue #3304292 by mathieum, swentel: Add WebP support
    
swentel’s picture

Status: Needs work » Fixed

upgrade path added, thanks!

swentel’s picture

Status: Fixed » Closed (fixed)