Skip to content

Fall back to X/Twitter photo for guests without GitHub#2183

Open
2u841r wants to merge 3 commits intosyntaxfm:mainfrom
2u841r:fix-guest-photo-fallback
Open

Fall back to X/Twitter photo for guests without GitHub#2183
2u841r wants to merge 3 commits intosyntaxfm:mainfrom
2u841r:fix-guest-photo-fallback

Conversation

@2u841r
Copy link
Copy Markdown
Contributor

@2u841r 2u841r commented Apr 1, 2026

Summary

  • Guests without a GitHub handle were showing a broken image (github.com/null.png)
  • Now falls back to unavatar.io/twitter/{handle} for guests who have a Twitter/X account
  • Falls back to github.com/ghost.png for the 2 guests with neither (Loïc Houssier, Anna Poblets)

Fixes 12 guests with missing photos — 10 will now show their X profile photo.

Changes

  • src/routes/(site)/guests/+page.server.ts — add twitter to the guest select
  • src/routes/(site)/guests/+page.svelte — update <img src> to use fallback chain

Closes #2182

🤖 Generated with Claude Code

Guests with no GitHub handle were showing a broken image.
Falls back to unavatar.io/twitter for guests with a Twitter handle,
and github.com/ghost.png for the rare case of neither.

Closes syntaxfm#2182

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

@2u841r is attempting to deploy a commit to the Syntax Team on Vercel.

A member of the Team first needs to authorize it.

2u841r and others added 2 commits April 1, 2026 07:31
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- guest/[name_slug]: fix broken github.com/null.png (e.g. Dr. Courtney Tolinski)
- FacePile: add twitter fallback so ShowCard faces on shows/ page also benefit

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Guest photos missing for guests without GitHub — add X/Twitter photo fallback

1 participant