Campaign landing pages
Keep the shared page aligned with current campaign artwork.
Open Graph images for Instagram
Use one HCTI og:image pattern across your site. Each page supplies its own metadata, and HCTI keeps the matching Instagram image current without a separate image-generation request.
htmlcsstoimage
htmlcsstoimage.com
htmlcsstoimage A fresh preview for every page, generated only when the content changes.
Make every share look intentional
Ready for a visual surface
Instagram is image-first, and a landscape card can feel cramped or get cropped. Use a dedicated square image to keep the message readable and the design balanced.
Keep the shared page aligned with current campaign artwork.
Give guides, presets, and downloads a strong square cover.
Turn each product page into a visual that reads clearly at a glance.
Metadata recipe
Point og:image at the HCTI URL for the current path, then use hcti:selector on that page to choose the element HCTI captures.
<meta property="og:image" content="https://hcti.io/v1/og/{YOUR_DOMAIN_ID}/product-launch">
<meta property="hcti:selector" content="#social-card">
<head> before a crawler loads it.If your firewall filters bots, allow requests whose user agent contains facebookexternalhit.
See the image and text Instagram can use when someone shares your page.
How it works
The public URL stays simple while HCTI reads the page, creates the image, and reuses it until the inputs change.
Use your HCTI domain ID and append the current page path. No API key or per-page image URL needs to be published.
On refresh, HCTI fetches the requested page and reads its hcti: screenshot options or html:tv: template values.
HCTI creates the image when the resolved screenshot or template inputs change, then caches and serves it to link-preview crawlers.
Fresh when it matters
HCTI checks page metadata separately from generating the image. Unchanged screenshot or template inputs reuse the existing render; changed inputs create the next image.
Choose how often HCTI may check each page for updated meta tags. Origin cache headers and ETags can avoid unnecessary work.
HCTI hashes the resolved screenshot or template inputs so unchanged pages return the image that already exists.
Use one image everywhere, fit one render into recognized preview sizes, or render with a platform-specific viewport.
Link preview platforms
The same Open Graph image URL can serve many crawlers. Explore focused guidance and recommended preview dimensions for common platforms.
Ready for better link previews?
Add one stable OG image URL pattern, keep the supported meta tags on each page, and let HCTI handle rendering and reuse.
Related features
Learn about related options for image and PDF generation, storage, security, and team access.