Support webp image style generation via imageoptimize_webp module

Created on 18 June 2021, over 3 years ago
Updated 25 May 2024, 7 months ago

Problem/Motivation

When using imageoptimize_webp, webp images have broken image styles.

Proposed resolution

While conceptually, it would make more sense to me to add support for s3fs to imageoptimize_webp, it's not easy code wise. Thus, attached patch makes things initially work by adding support for imageoptimize_webp to s3fs.

That works, but is not the cleanest solution. Maybe things could be implemented cleaner if s3fs/core would provide a better API for imageoptimize_webp to integrate with, e.g. have methods for checking the itok, and one for doing the s3fs redirect if file existing.

Remaining tasks

Find a way to implement a cleaner solution.

✨ Feature request
Status

Closed: won't fix

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria fago Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024