wintercms / wintercms/wn-tinypng-plugin
Add support for WebP
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 9
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Would be nice if the plugin was extended to support WebP which appears to be a new feature of TinyPNG. This allows WinterCMS developers to be up to date with todays technology! 😄

Ideally it would serve automatically .webp if supported, if not a fallback to .png/.jpg (only for Safari? It seems supported since end of 2022 so it still needs the fallback for users that didn't update their OS).
Images would be compressed twice (once like it already is, and once as WebP) doubling the compressions and the price, so it should be optional with a toggle switch in the settings of the plugin
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reviewing the existing plugin settings and the TinyPNG WebP conversion reference, then define the optional toggle, automatic WebP serving, and fallback behavior described in the issue; done means these behaviors work without doubling compression unless enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100