WordPress / WordPress/performance
Allow for modification or removal of the -jpg suffix added to webp images, generated from jpg files
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 461
- Forks
- 165
- Avg merge
- 11h 12m
- Merged PRs (30d)
- 28
Description
Feature Description
As per a user request in the forums allow for modification or removal of the naming structure of webp images that are generated from jpg files. At present when webp files are created from uploaded jpg they include a -jpg suffix.
Example: If I upload myimage.jpg the respective webp version will be titled myimage-jpg.webp
- Support topic
- This is the first such report in the WordPress support forums
Update: The below support topics also reference issues or queries regarding the file names that were added:
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
Review the image-generation implementation and the linked support topics to determine where the WebP filename is formed and what customization behavior is required. Done means uploaded JPG files can produce WebP files without the -jpg suffix or with a supported modification, with the behavior covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100