Closed (duplicate)
Project:
WebP
Version:
8.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2019 at 08:03 UTC
Updated:
1 Sep 2020 at 15:02 UTC
Jump to comment: Most recent
Comments
Comment #2
psebborn commentedWhen you say "it doesn't work" what do you mean?
I had an issue where the WebP image wouldn't get flushed if the image style was flushed (for example when you update the crop).
I worked around it by adding a `hook_image_style_flush` hook and manually removing the file, e.g.
I also needed a patch from https://www.drupal.org/project/drupal/issues/2833129 as the hooks wasn't getting fired.
Hope this helps you out!
Comment #3
alexmoreno commentedComment #4
alexmoreno commentedComment #5
nginex commentedClosing this issue as duplication of #3153137: Using Image Widget Crop in responsive images does not refresh webp image. I created that issue against dev version of the module and provided more details
Comment #6
arakwarReading both issues, I do think that going trough the hook is closer to what developers would expect modules to do, but since it relies on a core patch in 9.x, maybe going trough nginex solution makes sense... we're going to test it on our side.