Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Generate a social card by reading each Markdown file’s frontmatter, inserting its values into a reusable image template, and publishing the resulting image at a public URL referenced by that page’s Open Graph metadata. For committed content on a static site, build the image with the page; use a request-time image route only when the card depends on data that must be resolved at request time.
How Markdown becomes a social card
A Markdown post is structured input for an image, not an image itself. Its frontmatter can provide a title, author, category, or other deliberate card fields. A template turns those values into a PNG, JPEG, or other supported format; page metadata then points social crawlers to the public image URL.
- Choose fields: Start with the title and site identity. Include an author, category, or supplied image only if it helps identify the page.
- Render the image: Reuse one visual template and decide whether to generate its output at build time or request time.
- Publish and link: Make the image reachable without authentication and set the page’s Open Graph image metadata to its URL.
- Verify the deployed page: Check the image URL, metadata, dimensions, MIME type, and output size, then test the page with the target platform’s current preview tool.
These are separate jobs: a correctly rendered image will not appear in a share preview unless the page exposes its URL through metadata, and correct metadata cannot help if the image is inaccessible to the crawler.
Choose when to generate each image
Build-time generation
Generate cards alongside the site when their inputs are committed Markdown content and the image does not need request-specific or uncached data. A build gives the published page and its card a stable relationship, without requiring an image-rendering service at request time.
Recommended Free Tools
#1 Best Overall
- 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.
Request-time generation
Use an image route when the title or other card inputs need to be resolved dynamically. This requires a deployment runtime capable of serving the route and makes image availability dependent on that runtime. Caching and regeneration behavior vary by framework and deployment, so confirm the relevant documentation rather than assuming the route is always generated afresh.
Generate cards with Next.js App Router
Next.js provides opengraph-image and twitter-image conventions for route segments. As the Next.js documentation puts it: “The opengraph-image and twitter-image file conventions allow you to set Open Graph and Twitter images for a route segment.” Recognized image files can be static files in the segment or generated by a .js, .ts, or .tsx file; Next.js adds the corresponding metadata tags.
For a generated card, put an opengraph-image.tsx file in the route segment and use ImageResponse from next/og. The following minimal example takes the title from the route’s segment parameters; adapt the parameter name and route structure to match the application:
Rank #2
- 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.
import { ImageResponse } from 'next/og'
type Props = {
params: Promise<{ slug: string }>
}
export const alt = 'Social card'
export const size = { width: 1200, height: 630 }
export const contentType = 'image/png'
export default async function Image({ params }: Props) {
const { slug } = await params
const title = slug.replaceAll('-', ' ')
return new ImageResponse(
(
<div
style={{
width: '100%',
height: '100%',
display: 'flex',
alignItems: 'center',
padding: '64px',
background: '#111827',
color: 'white',
fontSize: 64,
fontWeight: 700,
}}
>
{title}
</div>
),
size,
)
}
The example derives display text from a slug only to stay self-contained. For Markdown-backed pages, look up the post by slug in the site’s content layer and use its frontmatter title instead. Ensure the lookup is deterministic and handle a missing entry deliberately; do not let raw Markdown syntax or unescaped content become accidental card text.
Next.js documents generated images as statically optimized by default unless request-time APIs or uncached data change that behavior; image routes are cached by default unless a request-time API or dynamic configuration changes it. This generally suits cards based on committed content. Exporting alt, size, and contentType supports image metadata, including alternative text and dimensions. Next.js documents JPG, JPEG, PNG, and GIF for static image files. Its documentation states a 5 MB maximum for a Twitter image file and an 8 MB maximum for an Open Graph image file; check the target platform’s current requirements separately.
Use Markdown frontmatter in Astro
Astro Markdown files can include YAML or TOML frontmatter for values such as title, description, and tags. Astro components can access Markdown content and frontmatter through local imports or content collection queries. For related documents, content collections let a site describe a shared shape, validate it, and provide type safety and editor IntelliSense.
Rank #3
- 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.
A practical implementation is to query or import an entry, pass its frontmatter values into a shared card template, and render the image either as part of the build or through an endpoint supported by the chosen renderer. Astro’s content APIs provide the inputs; the renderer and whether a request-time endpoint is supported depend on the deployment stack.
Astro with Cloudflare Browser Run
Cloudflare’s tutorial, last updated September 26, 2026, describes one specific option: render a card design through an Astro route, use Browser Run to screenshot it as a PNG, and serve that image to social crawlers. Its example supplies title, image, and author through URL query parameters. The stated prerequisites are a Cloudflare account with Browser Run enabled, an Astro site deployed on Cloudflare Workers, and basic familiarity with Astro and Workers. This is a Cloudflare-specific workflow, not a requirement for Astro or a framework-neutral renderer.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Design and validate the template
- Make text predictable: Decide how long titles wrap, what happens when a field is missing, and how special characters display. Keep raw Markdown syntax out of the rendered card.
- Use page-specific content intentionally: A title and brand identity are a sensible baseline; extra fields should aid recognition rather than crowd the image.
- Set metadata and accessibility details: Connect the page to the public card URL. Where the framework supports it, provide useful alternative text and correct image dimensions and content type.
- Check the deployed result: Confirm that the page metadata points to the expected image and that the image can be fetched without login. Inspect the actual output’s dimensions, MIME type, and file size.
- Test with the destination: Preview the deployed URL using the target network or messaging app’s current tool. A local preview does not establish what a remote crawler can access.
Troubleshoot missing or stale previews
The preview has no image
Inspect the deployed page’s Open Graph metadata and verify that its image URL is correct and publicly reachable. If the image exists locally but not after deployment, check that the build emitted it or that the image route is available in the deployed runtime.
Rank #4
- 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
The image shows the wrong title
Check which content entry the route resolves and whether the generator uses frontmatter rather than a slug, stale build output, or an incorrect fallback. Rebuild or regenerate the card after changing committed content if the workflow is build-time.
The page shows an old card
Build, route, and crawler caches can all affect what is served. Confirm the current image directly and verify the page’s current metadata before using the destination platform’s preview tool to test again. There is no single cache-refresh schedule established for all social networks and messaging apps; consult the relevant platform’s current guidance.
The route works locally but fails after deployment
Check whether the deployment supports the route’s rendering requirements and whether it is configured for static output or a server/edge runtime as expected. For a hosted browser workflow, verify its account, enablement, and deployment prerequisites rather than assuming another host provides the same service.
Best Value
- 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.
Or skip the browser setup
If you already have the card page or HTML ready to capture, ScreenshotNeo can return an image from one GET request. Use the title or rendered-card URL as the capture target; generating the page from Markdown and publishing its social metadata remain part of your site workflow.
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 API documentation for request options. ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before the shot; bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000. Learn about ScreenshotNeo, or sign up for 1,000 free screenshots a month with no card.
Frequently Asked Questions
Does generating an image automatically add it to a social preview?
No. The page must also expose the image URL through its Open Graph metadata.
Will a social platform refresh its cached preview as soon as I update a card?
Not necessarily. Refresh behavior varies by platform; test the deployed URL with that platform’s current preview tool.
Free tools Windows power users keep installed
One-click scans. No signup required.
Quick Recap
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.

