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
| Comment | File | Size | Author |
|---|---|---|---|
| imagecache_external.add-webp-support.patch | 1.04 KB | mathieum |
Comments
Comment #2
swentel commentedMakes sense.
We'll need an update hook though to resave settings on an existing install.
Comment #4
swentel commentedupgrade path added, thanks!
Comment #5
swentel commented