poll-results

Poll results OG image template

Poll results the way social apps draw them: the question on a full accent background and the answers as filled bars on a white card, the winner outlined and ticked.

Poll results Open Graph image template rendered by Shareglint
Poll results template at square size (1080×1080)
Poll results template at portrait size (1080×1350)
Poll results template at story size (1080×1920)
Poll results template at pinterest size (1000×1500)
Poll results 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 communities, newsletters, media and survey tools sharing how a vote ended. Each option can carry its share, its votes or both; an option without a share gets one worked out from the votes, and bars are clamped to 0–100 while the text stays as you wrote it. Up to six options. Wide frames put the question beside the card; square and vertical ones put it above, as large as it fits.

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
question text The question that was asked. default: Your question? Tabs or spaces in 2026?
options text Options separated by semicolons, each as label|share|votes, e.g. Spaces|58%|7,238 votes; Tabs|31%|3,869 votes. Share or votes may be left out. Up to six. Spaces|58%|7,238 votes; Tabs|31%|3,869 votes; Whatever the formatter says|11%|1,373 votes
total_votes text Total under the options, e.g. 12,480 votes. 12,480 votes
status text Label in the pill at the top, e.g. Final results. Final results
source text Who ran the poll and when, e.g. Poll by @northwind · Oct 2026. Poll by @northwind · Oct 2026
logo image URL Logo in the pill; without it a small square mark is shown. https://example.com/images/logo-northwind.png
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #6366f1 #6366f1
theme dark | light Colour scheme: dark or 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": "poll-results",
    "modifications": {
        "question": "Tabs or spaces in 2026?",
        "options": "Spaces|58%|7,238 votes; Tabs|31%|3,869 votes; Whatever the formatter says|11%|1,373 votes",
        "total_votes": "12,480 votes",
        "status": "Final results",
        "source": "Poll by @northwind · Oct 2026",
        "logo": "https://example.com/images/logo-northwind.png"
    }
}'

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/poll-results.png?options=Spaces%7C58%25%7C7%2C238%20votes%3B%20Tabs%7C31%25%7C3%2C869%20votes%3B%20Whatever%20the%20formatter%20says%7C11%25%7C1%2C373%20votes&question=Tabs%20or%20spaces%20in%202026%3F&source=Poll%20by%20%40northwind%20%C2%B7%20Oct%202026&status=Final%20results&total_votes=12%2C480%20votes&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/poll-results/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More Data, charts & milestones templates

All 14 Data, charts & milestones templates →  ·  All templates →