Skip to content

Add a library of images and malformed images - #13068

Draft
aaronjorbin wants to merge 4 commits into
WordPress:trunkfrom
aaronjorbin:csm/test-library
Draft

Add a library of images and malformed images#13068
aaronjorbin wants to merge 4 commits into
WordPress:trunkfrom
aaronjorbin:csm/test-library

Conversation

@aaronjorbin

@aaronjorbin aaronjorbin commented Aug 16, 2026

Copy link
Copy Markdown
Member

Part of WCUS26 contributor day

Trac ticket:

Use of AI Tools

none as of yet


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@aaronjorbin

Copy link
Copy Markdown
Member Author

All images added here should be free and without restriction. https://wordpress.org/photos is the source of some and my camera is the source of some others here

@aaronjorbin

Copy link
Copy Markdown
Member Author

Claude generated list of image formats
https://claude.ai/share/54a40817-a444-49d0-9d3c-4592a75ce93e

@aaronjorbin

Copy link
Copy Markdown
Member Author

Mime sniffing - https://mimesniff.spec.whatwg.org/

@aaronjorbin

Copy link
Copy Markdown
Member Author

Testing on osx Chrome

heic-as-heic.heic - ✅
heic-with-wrong-extention.jpg - ❌
heic-with-wrong-extention.png - ❌
jpeg-with-wrong-extention.gif - ✅
jxl-as-jxl.jxl - Rejected but an error displayed
wc-us-26.HEIC - ✅
webp-with-wrong-extention.jpeg - ✅
webp-with-wrong-extention.jpg - ✅
webp-with-wrong-extention.png - ✅

@aaronjorbin

Copy link
Copy Markdown
Member Author

empty files are all correctly detected. ✅

@josiahhostetter

josiahhostetter commented Aug 16, 2026

Copy link
Copy Markdown

CSM Live Monitor plugin

  • Block-editor panel for testing client-side media: shows ACTIVE/OFF, client vs server uploads, live flags/filters, and export. Install via Plugins → Upload.

WP Media Utility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants