Repository navigation
Show X members' profile photos sharp - #610
Merged
Merged
Conversation
X hands out a profile photo as a 48px thumbnail, and that is what a sign-in with X saves. A member's profile draws it at up to 96px and the profile's share image at 140px, so it looked soft in both. The same photo at 400px is one suffix away. The profile and the share image now ask for that one, as the Grok Bot Directory already does. Members without a photo on X get X's own picture at 400px too. Photos from GitHub, Google and uploads are untouched. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
A member who signs in with X gets X's 48px thumbnail as their photo. Their profile draws it at up to 96px and the profile's share image at 140px, so it looks soft in both.
The same photo at 400px is one suffix away on X's image host. The profile and the share image now ask for that size. The Grok Bot Directory already does this.
219 of the 540 newest public members have an X photo.
Testing
bunx biome ci .andbun run typecheckinapps/cursorpass.