Skip to content

Conversation

@gforcada
Copy link
Member

@gforcada gforcada commented Oct 8, 2025

Closes #124

WebP support already existed, but it did not handle the cases of animated WebP images, they are scaled to a single still image 😕

Warning

the minimal approach I took is to handle WebP, always like a gif image, as there is already some code to handle the case of a single frame (i.e. WebP/gif images that have no animation).

If we want to handle the cases differently, I can update the code

@mister-roboto
Copy link

@gforcada thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@gforcada gforcada force-pushed the animated-webp-images branch from b6bd0c5 to 7fc8d38 Compare October 8, 2025 12:34
@gforcada gforcada self-assigned this Oct 8, 2025
@gforcada gforcada force-pushed the animated-webp-images branch from 7fc8d38 to 997f094 Compare October 9, 2025 07:30
@davisagli
Copy link
Member

@jenkins-plone-org please run jobs

@gforcada gforcada merged commit bc06bc8 into master Oct 10, 2025
20 checks passed
@gforcada gforcada deleted the animated-webp-images branch October 10, 2025 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support animated WebP files

4 participants