Skip to content

fix: correct broken avatar image path for Greg Dennis in blog post - #2452

Open
gouravj25551-afk wants to merge 1 commit into
json-schema-org:mainfrom
gouravj25551-afk:fix/blog-avatar-404
Open

fix: correct broken avatar image path for Greg Dennis in blog post#2452
gouravj25551-afk wants to merge 1 commit into
json-schema-org:mainfrom
gouravj25551-afk:fix/blog-avatar-404

Conversation

@gouravj25551-afk

Copy link
Copy Markdown

What kind of change does this PR introduce?

A bugfix.

Issue Number:

Fixes #2451

Did you add tests for your changes?

No — this is a one-line content/data fix (an image path in frontmatter), no logic changed.

Summary

pages/blog/posts/ietf-cooperation.md referenced photo: /img/avatars/gregsdennis.jpg, but only a .webp version of that file exists in public/img/avatars/. Since this is currently the most recent blog post, its author photo is rendered as the hero image on /blog (pages/blog/index.page.tsx, recentBlog[0].frontmatter.authors[0].photo), so the broken path causes a 404 and a blank avatar circle there — confirmed both locally and on production (https://json-schema.org/img/avatars/gregsdennis.jpg → 404).

Fix: point to the existing gregsdennis.webp file instead.

Verification

  • Ran a clean local build (yarn install, yarn lint, yarn typecheck, yarn build — all pass, matching this repo's pre-commit hook).
  • Confirmed via a local next dev run that the avatar now loads (200 OK) and renders correctly in the /blog hero card, with no more 404 in the console/network tab.

Does this PR introduce a breaking change?

No.

@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview b7e580d

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (6c0b00c) to head (b7e580d).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2452   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           31        31           
  Lines          695       695           
  Branches       215       215           
=========================================
  Hits           695       695           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The ietf-cooperation.md post referenced /img/avatars/gregsdennis.jpg,
but only a .webp version of that file exists, causing a 404 and a
blank avatar on the /blog hero card (both locally and in production).

Fixes json-schema-org#2451
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready to review

Development

Successfully merging this pull request may close these issues.

🐛 Bug: Blog hero avatar 404s — wrong file extension in ietf-cooperation.md

1 participant