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.

An Open Graph image is the visual preview attached to a shared page link. To create one, design a representative image, publish it at a stable public URL, and add that absolute URL to the page’s og:image metadata. A practical starting canvas is 1200×630 pixels (about 1.91:1), but the Open Graph protocol does not mandate one universal size, so check the requirements of the platforms your audience uses.

What an Open Graph image is

The Open Graph protocol lets a web page become a rich object in a social graph. Its core metadata is placed in the document’s <head> and identifies the page title, type, image and canonical URL:

  • og:title — the title shown with the shared link.
  • og:type — the kind of object, commonly website for a normal page.
  • og:image — the image URL used for the preview.
  • og:url — the page’s canonical URL.

You can also provide og:description and structured image properties such as MIME type, width, height and alternative text. The image itself is not embedded in the HTML; crawlers fetch it from the URL you publish.

Choose a canvas and file format

Use 1200×630 as a practical baseline

A current implementation guide recommends 1200×630 pixels, approximately a 1.91:1 ratio, as a broad-compatibility starting point. This is a practical recommendation, not a universal protocol requirement. Services may crop or display the image differently, so keep important text and branding away from the edges and inspect the preview on the platforms that matter to your readers.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Pick a format that matches the artwork

  • PNG: useful for crisp text, logos and illustrations.
  • JPEG: often suitable for photographic backgrounds and smaller files.
  • WebP: can be efficient where the receiving platform accepts it.

There is no single “best” format for every network. Confirm the accepted formats and size limits of the services where your links are shared. Next.js’s file convention currently documents JPG, JPEG, PNG and GIF for an opengraph-image file.

Decide between a static and generated image

Approach Good fit Trade-off
Static image file A small site or pages whose preview art changes rarely Simple to create and publish; each page-specific change requires another file and metadata update.
Code-generated image Many routes or content that changes by page Repeatable and route-aware, but requires implementation and maintenance.
Visual editor such as Figma Someone wants to compose or edit artwork visually Useful for creating the image; the metadata still has to be added to the page.

Figma’s documentation describes uploading and editing images in a design. It is an optional creation tool, not a requirement of Open Graph.

Create the artwork

  1. Choose the page’s primary idea and write a short, readable headline.
  2. Set the document to 1200×630 pixels unless a target platform calls for another size.
  3. Use strong contrast and a restrained type scale so the design remains legible in a small preview.
  4. Include only information that represents the page. Do not make the image promise content the page does not contain.
  5. Keep essential text, logos and faces inside a safe central area because platform crops vary.
  6. Export a web-ready file and give it a descriptive filename, such as open-graph-images-guide.png.

For a handful of pages, a static design from a visual editor is usually the least complicated route. For a blog, catalog or documentation site with hundreds of URLs, generate the artwork from route data so a title, author or category can be changed without manually editing every file.

Publish the image at a stable absolute URL

Upload the file to a location that unauthenticated crawlers can reach over HTTPS. The value of og:image should be a complete URL, not a relative path such as /images/card.png. For example:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
https://example.com/images/open-graph-images-guide.png
  • Use the final production hostname, not a local development address.
  • Make sure the server returns the image rather than an HTML error page.
  • Keep the URL stable; changing it requires crawlers to fetch a new resource.
  • Do not require a login, interactive cookie choice or JavaScript execution just to download the file.

Add the Open Graph metadata

Put these tags in the page’s document head. The example uses the practical 1200×630 canvas; replace the URLs and text with values for your page.

<meta property="og:title" content="A page title" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://example.com/page" />
<meta property="og:image" content="https://example.com/images/page-preview.png" />
<meta property="og:image:alt" content="A concise description of the image contents" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:description" content="A short description of the page." />

Write image alt text as a description

The protocol says that a page specifying og:image should also specify og:image:alt. Describe what the image contains—for example, “Blue map of coastal hiking routes with the title Weekend Trail Guide”—rather than writing a caption such as “Read our guide.” Keep the text concise and accurate.

Handle multiple images deliberately

You may provide more than one og:image. When values conflict, the first image in document order takes preference. Put the preferred image first, then place its structured properties immediately after it:

<meta property="og:image" content="https://example.com/images/preferred.png" />
<meta property="og:image:alt" content="The preferred preview artwork" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image" content="https://example.com/images/alternate.png" />
<meta property="og:image:alt" content="An alternate preview artwork" />

Keep each width, height, MIME type and alt declaration associated with the image root it describes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Generate Open Graph images with Next.js

Static file convention

Next.js supports an opengraph-image file in a route segment. Add the file to the segment that owns the page—for example, an image file alongside a route’s page file. Next.js then adds the relevant metadata for that route. Its current guide documents JPG, JPEG, PNG and GIF files and demonstrates a 1200×630 image.

Programmatic route

When every article needs different text or artwork, use an opengraph-image route to generate the image from route data. Keep the generated response publicly fetchable and ensure the resulting metadata resolves to an absolute URL in production. The implementation details depend on your Next.js version and deployment adapter, so verify the current Next.js guide before choosing runtime-specific APIs.

Inspect and troubleshoot the result

The preview shows no image

  • View the deployed HTML source and confirm that og:image is in the server-rendered <head>.
  • Check that the value is an absolute HTTPS URL and that opening it without a session returns the image.
  • Confirm the response is an image with the expected MIME type, not a redirect to a login or error page.
  • Check spelling: Open Graph properties use the property attribute, not name.

The wrong image is selected

Look for multiple og:image tags. The first one has preference, so reorder the tags and keep the structured properties beside the intended image.

The artwork is cropped or text is missing

Platform display behavior is not identical. Rework the composition with wider safe margins, reduce text, and inspect the actual shared-link preview rather than relying only on the source file.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Changes do not appear immediately

Preview crawlers can cache fetched metadata and images. After deployment, confirm that your server serves the new file and then use the platform’s available URL-inspection or preview-refresh mechanism. Allow for a delay when a service has not fetched the page again.

The image works locally but not after deployment

Replace localhost and relative paths with production absolute URLs, deploy the image to the same environment as the page, and test it from a separate network or an unauthenticated request. A private firewall, expiring signed URL or robots configuration that blocks the crawler can prevent retrieval.

Validate before sharing

  • Confirm og:title, og:type, og:url and og:image are present once with the intended values.
  • Check that og:image:alt describes the visible content.
  • Open the image URL directly and verify its dimensions, format and HTTPS certificate.
  • Inspect the final rendered head, including pages generated by a framework.
  • Test a real shared-link preview on each important platform and note any cropping.
  • Keep the image URL and design version documented so future edits do not break old pages.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If you need a screenshot-based Open Graph asset from a live page, ScreenshotNeo can return a PNG, JPEG, WebP or PDF from one GET request. Its cleanup steps accept cookie or consent banners and remove more than 60 known consent platforms, newsletter popups and chat widgets before capture; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and the response identifies the page verdict and billing status in headers.

For example, this cURL request captures Stripe as a WebP image:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo documentation for all capture options, including full-page screenshots, CSS selectors, device presets, retina scale, custom CSS and JavaScript, click and wait actions, blocked resources, headers and cookies, geolocation, transparent backgrounds, resizing, caching, signed links, asynchronous webhooks, bulk capture and the usage API.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Python

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
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}`);

ScreenshotNeo also provides an MCP server with take_screenshot, get_page_info and capture_pdf tools for Claude, Cursor and other MCP clients. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Create a free ScreenshotNeo account.

Keep the metadata maintainable

Store the image path with the page record or route configuration rather than scattering it through templates. When changing artwork, preserve the old URL if existing shares still depend on it, or provide a redirect and verify that the receiving crawler follows it. For generated images, test long titles, non-Latin characters, missing author data and unusually long route names so one malformed record cannot produce a blank card.

Frequently Asked Questions

What is the recommended Open Graph image size?

Use 1200×630 pixels as a practical starting canvas, then verify the current requirements and cropping behavior of the platforms important to your audience. The Open Graph protocol itself does not prescribe one universal pixel size.

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

What file format is best for an OG image?

Choose based on the artwork and the destination platform: PNG is suitable for crisp text and logos, JPEG for photographs, and WebP where it is accepted. Confirm the platform’s current format and file-size rules.

Does every page need a different Open Graph image?

No. A shared image works for pages with a common identity. Use page-specific static files or a generated route when the preview needs to reflect each article, product or route.

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.