# OG image aspect ratio is appropriate for LinkedIn

- **Pattern:** `ab-001817` (`marketing-social-sharing.platform-specific.linkedin-image-aspect`)
- **Severity:** medium
- **Lifecycle:** active
- **Last modified:** 2026-04-18
- **Canonical URL:** https://auditbuffet.com/patterns/ab-001817
- **License:** CC-BY-4.0 — attribute to AuditBuffet Pattern Catalog (https://auditbuffet.com/patterns/ab-001817)

## Why it matters

LinkedIn crops OG images that fall outside its preferred 1.91:1 aspect ratio. A square 1200×1200 image is cropped to a horizontal strip; a portrait 600×900 image is cropped to a narrow band. The crop is center-based, meaning headline text or logos placed toward the edges of an image optimized for other contexts will be cut off. Per ogp.me, the recommended dimensions are 1200×628, which maps to 1.91:1. Developers who create OG images for general use at square or tall aspect ratios discover the cropping problem only when they check the LinkedIn post-publish preview — after the content has already been shared.

## Severity rationale

Medium because off-ratio OG images are cropped on LinkedIn without any warning, potentially hiding key visual content from the image and reducing the preview's marketing effectiveness.

## Remediation

Use 1200×630 pixels for all OG images. This satisfies LinkedIn's 1.91:1 ratio and is accepted by all major platforms. For `ImageResponse`-generated images, set the dimensions explicitly:

```ts
return new ImageResponse(<div>...</div>, { width: 1200, height: 630 })
```

For existing static images at wrong ratios, resize them with an image editor or a build-time `sharp` script. When designing OG image templates, keep critical content (text, logos) within a centered safe zone that accounts for the 1.91:1 crop.

## Detection

**The detection method for this pattern is part of AuditBuffet Pro.**

The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the [Social Sharing Audit](https://auditbuffet.com/audits/marketing-social-sharing). The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.

## External references

- external ogp.me — https://ogp.me/

Taxons: findability

HTML version: https://auditbuffet.com/patterns/ab-001817
