{
  "id": 19429542,
  "title": "The Article Already Had an og:image. Its JSON-LD Didn't Mention It.",
  "url": "https://urgent.news/2026/11/11/the-article-already-had-an-og-image-its-json-ld-didnt-mention-it",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-11T02:12:09.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/_172c9b2760d6c5bc1e8966/the-article-already-had-an-ogimage-its-json-ld-didnt-mention-it-4c80"
  },
  "original_language": "en",
  "account": "A recent commit to the Mailward project added a new function called `articleImage()` to the SEO utility module. This function takes a relative path and returns an absolute URL for the shared social image used across multiple long-form pages. The three affected pages, including one about email archive formats, previously lacked an `image` property in their JSON-LD markup.\n\nThe JSON-LD documentation recommends including an image property, ideally a high-resolution representative image in one of several aspect ratios. Google does not guarantee rich result features appearing in search results, but recommends high-resolution images. The 1200x630 social image used by Mailward meets the 50,000-pixel minimum.\n\nA new test was added to the project's test suite, checking that the `articleImage()` function returns the same URL as the statically defined `OG_IMAGE` constant and that the `image` property is present in each page's JSON-LD markup. The test does not verify the actual rendering or performance of the rich result.",
  "summary": "I maintain three long-form pages that already emit JSON-LD: a format guide typed as Article , and two technical write-ups typed as TechArticle . Each page also sets a 1200×630 og:image through the site's shared social-metadata helper. A weekly structured-data pass, recorded in the commit this post is based on, found that none of the three JSON-LD nodes had an image property. The picture was…",
  "key_points": [
    "articleImage() function added to SEO utility module",
    "Three pages lacked image property in JSON-LD markup",
    "Test verifies articleImage() returns same URL as OGIMAGE constant"
  ],
  "editors_take": "Automating the inclusion of social images in structured data ensures better alignment with search engine recommendations and reduces the risk of missing out on potential rich result features.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}