price-drop

Price drop OG image template

The old price struck through, an arrow and the new price on a price tag, next to the product photo.

Price drop Open Graph image template rendered by Shareglint
Price drop template at square size (1080×1080)
Price drop template at portrait size (1080×1350)
Price drop template at story size (1080×1920)
Price drop template at pinterest size (1000×1500)
Price drop template at youtube size (1280×720)

These are real renders from the API with the example values in the table below. Switch the size above: the same template lays itself out for all 6 sizes — send size or sizes with the request.

For price alerts, wishlists and "back in your budget" emails turned into social posts. The new price sits on a price-tag shape in your accent colour with the old price crossed out before it, and the saving gets its own chip — the change in price is the story, so it is the biggest thing on the card.

Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

Field Type Description Example
name text Product name. default: Product name Halo smartwatch, white edition
label text Label in the pill above the name, e.g. Price drop. default: Price drop —
brand text Brand or shop name shown above the product. Lumen Wearables
old_price text Price before the discount, struck through. $249
price text The new price, shown on the tag. $179
saving text The saving, e.g. You save $70 · 28%. You save $70 · 28%
cta text Call to action on the button. default: Shop now —
site text Your domain or a short URL. lumenwear.com
photo image URL Product photo, shown in a rounded frame. https://example.com/images/watch.jpg
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #dc2626 #dc2626
theme dark | light Colour scheme: dark or light. default: light —

Render it with one request

Use the slug as template. The response holds the URL of the finished PNG; ?wait=true keeps the connection open until it is ready.

curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "price-drop",
    "modifications": {
        "name": "Halo smartwatch, white edition",
        "brand": "Lumen Wearables",
        "old_price": "$249",
        "price": "$179",
        "saving": "You save $70 · 28%",
        "site": "lumenwear.com",
        "photo": "https://example.com/images/watch.jpg"
    }
}'

Or paste a signed URL into og:image

For static sites, Webflow, Shopify and no-code tools: put the fields in the query string and sign it with your signing secret. The first request renders the image, every later one is a redirect to the cached file. How to compute the signature.

<meta property="og:image" content="https://shareglint.com/i/acc_YOUR_ACCOUNT_ID/price-drop.png?brand=Lumen%20Wearables&name=Halo%20smartwatch%2C%20white%20edition&old_price=%24249&price=%24179&saving=You%20save%20%2470%20%C2%B7%2028%25&site=lumenwear.com&s=YOUR_SIGNATURE">

Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

curl -X POST "https://shareglint.com/v1/templates/library/price-drop/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More OG image templates

All templates →