LinkedIn preview image not showing
The most common cause is an image narrower than 401 px (LinkedIn shows a small thumbnail instead of a large card). Other causes include a missing or non-public og:image URL, HTTP instead of HTTPS, the tag being injected by JavaScript, or a stale LinkedIn cache. Use the checklist below to find and fix the exact issue.
Check your LinkedIn preview in peek →Common causes and fixes
Error
Image is narrower than 401 px wide
LinkedIn requires at least 401 px width to show a large card. Narrower images appear as a small right-side thumbnail. Use 1200x627 px for best results.
Error
og:image URL is not publicly accessible
Open the image URL in an incognito window. If it fails to load, LinkedIn's crawler cannot fetch it. Use a publicly hosted image over HTTPS.
Error
Image URL uses HTTP instead of HTTPS
LinkedIn requires HTTPS for og:image. Update your image URL to https://.
Error
og:image tag is injected by JavaScript
LinkedIn's crawler does not execute JavaScript. The og:image tag must be present in the server-rendered HTML. Use SSR or static generation.
Error
og:url is missing
LinkedIn requires og:url to correctly attribute the share. Without it, LinkedIn may not render a card at all.
Warning
Stale LinkedIn cache
LinkedIn caches previews for up to 7 days. Use the LinkedIn Post Inspector to force a re-scrape after fixing your tags.
Warning
Image aspect ratio is not 1.91:1
LinkedIn recommends 1200x627 px (1.91:1). Images far from that ratio may be letterboxed or cropped. Stay close to 1.91:1.
Warning
File size over 5 MB
LinkedIn rejects og:image files larger than 5 MB. Compress your image and re-scrape.
LinkedIn image requirements at a glance
| Requirement | Value |
|---|---|
| Recommended size | 1200 x 627 px |
| Minimum width for large card | 401 px |
| Aspect ratio | 1.91:1 |
| Max file size | 5 MB |
| Protocol | HTTPS required |
| Supported formats | JPEG, PNG |
| JavaScript execution | None (must be in static HTML) |
How to force LinkedIn to re-scrape
- Fix the og:image tag in your HTML.
- Deploy and verify the updated HTML is live (view page source, search for og:image).
- Open the LinkedIn Post Inspector ↑ .
- Paste your URL and click Re-scrape.
- Wait 60 seconds and check the preview. Try sharing on LinkedIn.
Correct LinkedIn og:image tags
<!-- Required for LinkedIn --> <meta property="og:title" content="Your Page Title" /> <meta property="og:description" content="A clear description under 160 characters." /> <meta property="og:image" content="https://example.com/og.jpg" /> <meta property="og:image:width" content="1200" /> <meta property="og:image:height" content="627" /> <meta property="og:image:alt" content="Description of the image" /> <meta property="og:url" content="https://example.com/your-page" />
Related guides
Frequently asked questions
- Why is my LinkedIn preview image not showing?
- The most common causes are: the image is narrower than 401 px (LinkedIn will show a small thumbnail instead), the og:image URL is not publicly accessible, the URL uses HTTP instead of HTTPS, or the tag is injected by JavaScript (LinkedIn's crawler does not execute JS). Fix the tag and use the LinkedIn Post Inspector to force a re-scrape.
- What is the minimum og:image size for LinkedIn?
- LinkedIn requires the image to be at least 401 px wide to show as a large card image. Narrower images display as a small inline thumbnail on the right side of the post. The recommended size is 1200x627 px at 1.91:1 aspect ratio.
- How do I force LinkedIn to re-scrape my updated image?
- Open the LinkedIn Post Inspector at linkedin.com/post-inspector, paste your URL, and click Re-scrape. Wait 60 seconds and try sharing again. LinkedIn's cache can otherwise take up to 7 days to expire.
- Does LinkedIn execute JavaScript when scraping metadata?
- No. LinkedIn's crawler does not execute JavaScript. All og:title, og:description, og:image, and og:url tags must be present in the server-rendered HTML source. If your tags are injected by a client-side script, LinkedIn will not see them.
- What file formats does LinkedIn support for preview images?
- LinkedIn supports JPEG and PNG. Keep the file size under 5 MB. Avoid WebP for LinkedIn specifically (not reliably rendered in all LinkedIn clients).