Warning Image

OG Image Too Large — WhatsApp Won't Show Your Preview

WhatsApp requires OG images under 500 KB. Larger images won't display in link previews.

What’s the issue?

Your OG image file size exceeds 500 KB, which means WhatsApp will not display it in link previews. Users sharing your link on WhatsApp will see a preview without an image, significantly reducing engagement.

How it looks on WhatsApp

❌ Image too large (1.93 MB)

⚠️ Image not loaded

example.com

My Website Title

✅ Optimized (280 KB)

Image preview visible

example.com

My Website Title

Why does file size matter?

Different platforms have different limits for OG image file size:

PlatformMax file sizeBehavior when exceeded
WhatsApp~500 KBImage not shown at all
Facebook~8 MBImage may load slowly
Twitter/X~5 MBImage may not display
LinkedIn~5 MBImage may load slowly
Discord~8 MBImage may not display
Telegram~5 MBImage may load slowly

WhatsApp is the strictest platform — even slightly exceeding the limit means your image won’t appear.

How to fix it

1. Compress your image

Use tools like:

  • Squoosh — Google’s free image compression tool
  • TinyPNG — Excellent for PNG and JPEG
  • Sharp — Node.js library for automated compression

2. Choose the right format

  • JPEG — Best for photographs and complex images. Use quality 75-85% for a good balance
  • WebP — 25-35% smaller than JPEG at equivalent quality. Widely supported
  • PNG — Only use for images requiring transparency. Much larger file sizes

The recommended OG image size is 1200x630px. Larger images waste bandwidth:

<meta property="og:image" content="https://yoursite.com/og-image.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />

4. Automate image optimization

Sharp (Node.js):

import sharp from 'sharp'

await sharp('input.png')
  .resize(1200, 630, { fit: 'cover' })
  .jpeg({ quality: 80 })
  .toFile('og-image.jpg')

Next.js:

// next.config.js — images are automatically optimized
// For OG images, generate them at build time with @vercel/og
import { ImageResponse } from '@vercel/og'

Target file size

Aim for 200-400 KB for your OG image. This ensures:

  • Fast loading on mobile connections
  • Compatibility with all social platforms including WhatsApp
  • Good visual quality at 1200x630px

Quick checklist

  1. Format: Use JPEG or WebP (avoid PNG for photos)
  2. Dimensions: 1200x630px (no larger)
  3. Quality: 75-85% for JPEG
  4. File size: Under 300 KB ideally, always under 500 KB
  5. Test: Share your link on WhatsApp to verify the preview appears

Related articles