WordPress / WordPress/performance

When uploading images in AVIF format, they are displayed as JPG.

Open
#1,836 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

When uploading images in AVIF format, they are displayed as JPG.

Steps to reproduce

  1. Go to media
  2. Click on upload media
  3. Select any avif file on your computer
  4. See on site front jpg

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

Reproduce the issue through Media and Upload media using an AVIF file, then inspect how the upload is represented on the site front end. Done means an uploaded AVIF image is displayed and identified as AVIF rather than JPG; the payload names no files or tests, so the relevant media-handling entry point must be located first.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.