Skip to content

enhance: accept WebP as profile avatar/banner images#526

Merged
dahlia merged 1 commit into
fedify-dev:mainfrom
naskya:enhance/webp-profile-image
Jun 19, 2026
Merged

enhance: accept WebP as profile avatar/banner images#526
dahlia merged 1 commit into
fedify-dev:mainfrom
naskya:enhance/webp-profile-image

Conversation

@naskya

@naskya naskya commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Closes #524

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for the WebP image format by updating the allowed image MIME types in both the accounts API and pages. The reviewer correctly noted that several user-facing error messages in src/pages/accounts.tsx still explicitly list only JPEG, PNG, or GIF, and should be updated to include WebP to maintain consistency with the new allowed types.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/pages/accounts.tsx
@naskya naskya force-pushed the enhance/webp-profile-image branch from 94e6854 to 98e1a18 Compare June 19, 2026 11:01

@dahlia dahlia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

dahlia added a commit that referenced this pull request Jun 19, 2026
Documents the addition of WebP (image/webp) as an accepted format for
profile avatar and banner image uploads in the Version 0.10.0 section
of CHANGES.md.

#524
#526
dahlia added a commit that referenced this pull request Jun 19, 2026
enhance: accept WebP as profile avatar/banner images
@dahlia dahlia merged commit 98e1a18 into fedify-dev:main Jun 19, 2026
2 checks passed
@naskya naskya deleted the enhance/webp-profile-image branch June 19, 2026 11:35
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.

Can’t upload WebP images as profile avatar/banner

2 participants