Skip to content

Banner images: duplication and cropping issues #659

@RisingOrange

Description

@RisingOrange

Problem

All 5 posts that use the image: frontmatter field have the same image duplicated in the markdown body, so it shows twice on the page.

Additionally, now that #658 has landed, square/near-square images (india-summit-logo.png, 4levels.png) are cropped by max-height: 400px; object-fit: cover.

Duplication examples

Page Screenshot
/if-anyone-builds-it-campaign iabied duplication
/amsterdam-protest-2025-december amsterdam duplication

Cropping examples

Page Result
/4-levels-of-ai-regulation (near-square) 4 levels after
/india-summit-2026 (square) india summit after

Affected posts

  • /india-summit-2026 — square image, cropped + duplicated
  • /4-levels-of-ai-regulation — near-square image, cropped + duplicated
  • /brussels-ep-protest-2026 — landscape, duplicated
  • /if-anyone-builds-it-campaign — landscape, duplicated
  • /amsterdam-protest-2025-december — landscape, duplicated

Options to consider

  • Remove duplicate inline images from the markdown body (keep banner only)
  • Decouple image: (used for OG/social meta) from banner display (e.g. add a separate banner: frontmatter field)
  • For square images: either avoid using them as banners, or handle the aspect ratio differently

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions