WordPress / WordPress/performance

Lots of broken images after regenerate thumbnails

Open
#1,396 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Plugin] Modern Image Formats [Type] Bug
Dominant language
PHP
Stars
461
Forks
165
Avg merge
11h 12m
Merged PRs (30d)
28

Description

Bug Description

Steps to reproduce

  1. Performance Plugin 3.3.0
  2. Modern Images 2.0.2
  3. Website with about 2500 images
  4. Regenerate thumbnails with: wp media regenerate

Screenshots

About 7-10% of the images are missing. The broken images try load a image with DSC05480-600x432.webp but the generated image is DSC05480-jpg-600x432.webp.

Additional Context

  • PHP Version:
  • OS: 8.2
  • Browser: chrome, safari
  • Plugin Version: 3.3.0
  • Device: all

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with Performance Plugin 3.3.0, Modern Images 2.0.2, and wp media regenerate on a site with many images. Trace where the generated filename and the referenced thumbnail filename are formed, focusing on the .webp versus -jpg- mismatch. Done means regenerated images are referenced correctly and no broken thumbnails remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.