A profile picture may be a WebP, and up to 8 MB - #2130
Merged
Conversation
Avatar und Titelbild waren der engste Upload der Seite: nur JPEG und PNG bei
2 MB, während ein Beitragsfoto WebP und HEIC bis 50 MB nimmt. Wer sein Logo als
WebP oder ein Handyfoto hochlud, kam durch den Zuschneide-Dialog und bekam dann
vom Server "is not a valid image" — englisch auf einer deutschen Seite, ohne
Format und ohne Grenze, und direkt darunter steht als einziger Knopf "Mein Bild
von gravatar.com holen"; genau so wurde es gemeldet ("I receive some message
regarding Gravatar"). Die Whitelist delegiert jetzt an die des Beitragsfotos,
die Grenze liegt bei 8 MB und in einem eigenen Config-Schlüssel, das accept
nennt dem Dateidialog dieselbe Liste, und beide Absagen sind übersetzt und
nennen Formate und Grenze — die Größen-Absage im Wortlaut, den
UI.upload_problem_message/2 einem LiveView-Upload schon gibt.
Diesen Text hat ein KI-Agent in meinem Namen geschrieben. Ich weiß, dass das problematisch ist.
Claude-Session: https://claude.ai/code/session_01Ks5HruByrC7ddPS1DAmFeA
wintermeyer
force-pushed
the
claude/avatar-formats-gravatar-bug
branch
from
September 10, 2026 11:32
0bb3e52 to
0d070cd
Compare
wintermeyer
added a commit
that referenced
this pull request
Sep 10, 2026
Die Regel sagt, den CI-Lauf als Hintergrundaufgabe zu beobachten und den Zug offenzuhalten — sie sagt bisher nicht, wie man wartet. Beim Avatar-PR (#2130) habe ich den grünen Lauf mit rund achtzig sleep-und-nachsehen-Aufrufen begleitet, was Tokens kostet und die Uhr nicht bewegt: die Wartebefehle laufen nebenläufig, der Zug rennt ihnen davon, und am Ende meldet ohnehin der Watch. Der Zusatz sagt jetzt, dass genau diese eine Benachrichtigung das Signal ist. Diesen Text hat ein KI-Agent in meinem Namen geschrieben. Ich weiß, dass das problematisch ist. Claude-Session: https://claude.ai/code/session_01Ks5HruByrC7ddPS1DAmFeA
This was referenced Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A member wrote in that they could not replace their avatar and got "some message regarding Gravatar". It is not a Gravatar problem.
Reproduced on /settings/profile: avatar and cover took only
.jpg .jpeg .pngat 2 MB — the narrowest upload on the site, while a post photo takes WebP and HEIC at 50 MB. The browser decodes WebP fine, so the crop dialog opens and everything looks right until the server refuses withis not a valid image: English on a German page, naming neither the formats nor the cap. The only prominent button under it is "Fetch my picture from gravatar.com", which is how the dead end reads as "you need a Gravatar account".Vutuv.Uploads.extension_whitelist/0now delegates to the post photo's list,max_filesize/0reads a new:profile_imageskey at 8 MB, the field'sacceptnames that list, and both refusals are translated and concrete. The threeimage_rejectedmails no longer say JPEG or PNG only.An AI agent wrote this text in my name. I know that is problematic.
https://claude.ai/code/session_01Ks5HruByrC7ddPS1DAmFeA