wp-media / wp-media/imagify-plugin
AVif images generated and served to thumbnail image althought it is > original image
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 82
- Forks
- 31
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 9
Description
Before submitting an issue please check that you’ve completed the following steps:
- Made sure you’re on the latest version=> 2.2
- Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
avif version is created for thumbnails although it is > than original image
To Reproduce
Steps to reproduce the behavior:
-
enable avif
-
upload this image
-
check uploads folder and media library => delete next-gen link displayed (shouldn't it be displayed when all next-gen are created?) , avif created to thumbnail images
Expected behavior
same as webP
avif which is > original image and thumbnail isnot served on FE
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
- while webP is enabled, no webP is created on trunk
- test page where avif is served with display image http://mai.rocketlabsqa.ovh/bigavif/
- if we click reoptimize using lossless, it will work fine and won't generate avif so the problem mainly when the image is already optimized
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
Contributor guide
No contributing guide indexed for this repository
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
Start by enabling AVIF and reproducing the issue with the linked image, then inspect the uploads folder and Media Library for generated thumbnail files and the next-gen link. Compare the behavior with WebP and with reoptimization using lossless; done means oversized AVIF thumbnails are not generated or served on the frontend, and the next-gen link behavior is correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- performance, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100