Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Short answer: An Open Graph image generator creates the picture, but it does not create a LinkedIn link preview by itself. You must publish the image at a URL LinkedIn can retrieve and add og:title, og:image, og:description, and og:url to the page. For LinkedIn’s organic share module, use an image at least 1200 × 627 pixels, preferably in a 1.91:1 ratio, and keep the file at or below 5 MB.

What a LinkedIn Open Graph image generator actually does

A generator produces the visual asset used in a link preview: a background, headline, subtitle, logo, photograph, or other brand elements. LinkedIn does not read the generator project or download a file from your computer. When someone shares a page, LinkedIn fetches that page, reads its Open Graph metadata, and attempts to fetch the image URL in og:image.

That means the complete workflow has three separate parts:

  1. Create an image that meets LinkedIn’s share-module constraints.
  2. Host the image at a publicly retrievable HTTPS URL.
  3. Add the Open Graph tags to the HTML document being shared.

LinkedIn’s guidance identifies og:title, og:image, og:description, and og:url as the core fields. A generated PNG or JPEG without those tags will not update a page’s preview.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

LinkedIn link-preview image requirements

Requirement Value for the organic share module Practical meaning
Minimum dimensions 1200 × 627 pixels Export at least this large; smaller files may not satisfy the share specification.
Recommended ratio 1.91:1 A 1200 × 627 canvas matches the recommended proportion closely.
Maximum file size 5 MB Compress the image so the delivered file remains at or below this limit.
Retrievability LinkedIn must be able to fetch it Do not require a login, private-network access, or a blocked request.

These values apply to website link previews, not LinkedIn single-image advertisements. Ad specifications use separate aspect-ratio and minimum-size rules, so do not substitute an ad-size chart when configuring og:image.

Design the image before exporting

Use a 1200 × 627 working canvas

Set the document to 1200 pixels wide and 627 pixels high, or use a larger canvas with the same 1.91:1 proportion. Keep essential text, logos, and faces away from the extreme edges because previews can be displayed in different contexts.

Make the message legible without the page title

Use one short headline and strong contrast. The image should complement the page title rather than repeat a long paragraph. Check the design at a small preview size before exporting.

Export a web-deliverable file

PNG is useful for crisp text and transparency; JPEG is often smaller for photographic designs. Whichever format you choose, verify the final file size is no more than 5 MB and that the exported dimensions have not changed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Generate an image in a browser

Browser tools are suitable when you need a one-off graphic or want to edit a template visually. Cloudinary describes a free browser tool that accepts a photo, title, subtitle, and optional brand or site name, then creates a 1200 × 630 image for download. OGForge describes a template editor with PNG downloads in its free tier and a paid API tier; its accessed page listed Pro at $19.99 per month. Features and prices can change, so confirm the current terms before relying on either service.

  1. Choose a template or start with a blank 1200 × 627 (or 1200 × 630) design.
  2. Add the page’s actual title or a concise version of it, plus consistent branding.
  3. Export PNG or JPEG and inspect the pixel dimensions and file size.
  4. Upload the file to a public, stable HTTPS location, such as your site’s media storage or CDN.
  5. Copy the final absolute image URL; you will place it in og:image.

A browser generator does not host the result for you indefinitely unless its product explicitly says so. Treat the downloaded file as your responsibility: preserve it at the URL used in your metadata and avoid deleting or renaming it after publication.

Add Open Graph metadata to the page

Place these tags inside the page’s <head>. Replace the example values with the canonical URL, description, and publicly accessible image URL for the page.

<meta property="og:title" content="How to monitor API latency">
<meta property="og:description" content="A practical guide to measuring and reducing API latency.">
<meta property="og:image" content="https://example.com/images/api-latency-link-preview.jpg">
<meta property="og:url" content="https://example.com/guides/api-latency">

What each field controls

  • og:title: the title associated with the shared page.
  • og:description: supporting text shown with the preview when LinkedIn displays it.
  • og:image: an absolute URL to the image file, not a local path or relative URL.
  • og:url: the canonical page URL represented by the share.

Use one deliberate set of tags in the final rendered HTML. In a framework or CMS, inspect the server-rendered output to ensure the tags are present before JavaScript runs and that a plugin has not inserted conflicting values.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Make the image fetchable by LinkedIn

LinkedIn can omit a compliant image when its crawler is blocked or the asset is stored in a protected location. Test the exact og:image URL in a private browser window and from a network that is not already authenticated. Check that it returns the image itself rather than an HTML login page, redirect loop, access-denied response, or expiring signed URL.

  • Use HTTPS and an absolute URL.
  • Allow the image request through your CDN, firewall, bot policy, and hotlink protection.
  • Keep the file available after publishing; do not rely on a local development URL.
  • Ensure the response is an image with the correct content type and a successful status.
  • Do not put the image behind an account, VPN, IP allowlist, or short-lived authorization token.

Why a LinkedIn preview image is wrong or missing

The old image is still displayed

LinkedIn may have retained an earlier fetch. First correct the metadata and image URL, then use LinkedIn’s available post-inspection or preview-refresh workflow for your account and page. Changing the filename or query-free canonical image URL can also make a new asset distinguishable, but do not use cache-busting parameters if your CDN or security policy rejects them.

No image appears

Fetch the URL from og:image while logged out. A private object, a robots or firewall rule that blocks LinkedIn, a failed TLS setup, a redirect chain, or a response larger than the allowed file size can prevent retrieval. Confirm the image is at least 1200 × 627 pixels and no more than 5 MB.

The wrong image appears

Inspect the final HTML source, not only your CMS editor. Look for duplicate og:image tags, a theme default, or a social-sharing plugin overriding the page-specific value. Make sure the URL points to the intended file and that the CDN is not serving an old object.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The image is cropped unexpectedly

Re-export at the recommended 1.91:1 ratio and move critical content toward the center. LinkedIn can render previews in different layouts, so avoid placing essential text along the outermost edges.

The page is protected by a bot check

A challenge page is not an image. Permit LinkedIn’s retrieval request for the asset or move the file to storage intended for public delivery. Do not weaken authentication for the page itself; make only the image URL fetchable.

Validate before sharing

  1. View the page source and verify all four required Open Graph properties.
  2. Open the exact og:image URL in a logged-out session.
  3. Check dimensions, aspect ratio, file type, and the 5 MB limit.
  4. Confirm the canonical og:url is the page you intend to share.
  5. Publish or update the page, then inspect the resulting LinkedIn preview.

Or skip the browser setup

ScreenshotNeo can capture the rendered page after you have configured its metadata, which is useful for checking what a visitor sees without maintaining a local browser script. Its API also supports PNG, JPEG, WebP, and PDF output, full-page capture, waiting for a selector or network idle, custom CSS, and other capture controls. The one-call example below targets the page you want to inspect; see the ScreenshotNeo documentation for parameters.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo removes cookie-consent banners, newsletter popups, and chat widgets before the shot. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and each response identifies the page verdict and billing status in headers. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 shots. Sign up for the free plan.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Automate capture with Python or Node.js

Python

import requests

r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
r.raise_for_status()
open("shot.webp", "wb").write(r.content)

Node.js

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`Screenshot failed: ${res.status}`);
const fs = await import('node:fs/promises');
await fs.writeFile('shot.webp', Buffer.from(await res.arrayBuffer()));

For production checks, set a sensible timeout, save the response headers, and treat non-success responses as failures. Capture after your page serves the final Open Graph tags; an image of an old deployment cannot validate a new metadata configuration.

Performance, reliability, and cost considerations

  • Keep source images optimized so LinkedIn and other crawlers download them quickly.
  • Use stable CDN URLs and long cache lifetimes for immutable image files.
  • Generate images during publishing rather than on every page request when your design is template-based.
  • When automating screenshots, wait for the actual hero image or relevant selector instead of relying only on a fixed delay.
  • Track image URL changes: replacing a file at the same URL can leave different systems showing different cached versions.

LinkedIn’s documented limits are specifications, not a promise that every preview will appear immediately. Access controls, crawler behavior, and cached metadata can still affect the result.

Frequently Asked Questions

Can I use a relative URL in og:image?

Use an absolute HTTPS URL. A relative path does not reliably identify a fetchable image to LinkedIn.

Does generating a PNG automatically change my LinkedIn preview?

No. You must upload the file and update the page’s Open Graph metadata, especially og:image.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Are LinkedIn ad image dimensions the same as link previews?

No. LinkedIn documents separate specifications for single-image ads; this guide covers organic website link previews.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.