fundraising-goal

Fundraising goal OG image template

A campaign card over a tinted photo: the amount raised, a progress bar towards the goal, supporters and days left.

Fundraising goal Open Graph image template rendered by Shareglint
Fundraising goal template at square size (1080×1080)
Fundraising goal template at portrait size (1080×1350)
Fundraising goal template at story size (1080×1920)
Fundraising goal template at pinterest size (1000×1500)
Fundraising goal 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 charities, crowdfunding and community campaigns: post it at the start and render it again as the total grows. The photo is tinted in your accent colour so white text stays readable on any picture, and the bar is filled to the percentage you send in progress.

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
title text Name of the campaign. default: Campaign name Plant 10,000 native trees along the Vistula
organization text Organisation running the campaign. Green Banks Foundation
raised text Amount raised so far, e.g. $38,450. $38,450
goal text Line after the amount, e.g. raised of $50,000. raised of $50,000
progress text Percentage of the goal reached, a number from 0 to 100. default: 0 77
supporters text Number of supporters, e.g. 1,284 supporters. 1,284 supporters
days_left text Time left, e.g. 12 days left. 12 days left
cta text Call to action on the button. default: Donate Donate now
site text Your domain or a short URL. greenbanks.org
photo image URL Photo of the cause; it is tinted in the accent colour. https://example.com/images/forest.jpg
accent colour Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. default: #16a34a #16a34a
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": "fundraising-goal",
    "modifications": {
        "title": "Plant 10,000 native trees along the Vistula",
        "organization": "Green Banks Foundation",
        "raised": "$38,450",
        "goal": "raised of $50,000",
        "progress": 77,
        "supporters": "1,284 supporters",
        "days_left": "12 days left",
        "cta": "Donate now",
        "site": "greenbanks.org",
        "photo": "https://example.com/images/forest.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/fundraising-goal.png?cta=Donate%20now&days_left=12%20days%20left&goal=raised%20of%20%2450%2C000&organization=Green%20Banks%20Foundation&progress=77&raised=%2438%2C450&site=greenbanks.org&supporters=1%2C284%20supporters&title=Plant%2010%2C000%20native%20trees%20along%20the%20Vistula&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/fundraising-goal/copy" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

More OG image templates

All templates →