Help centerSEO
Thumbnails and link previews
Control the image, title and description that show up when a domain's link is shared on WhatsApp, Facebook, LinkedIn, X and Slack.
When someone pastes a customer's link into WhatsApp or LinkedIn, a card shows up with an image, a title and a description. That card comes from the page's Open Graph tags. With Tenanci, each domain has its own card: the image you upload, or a thumbnail generated automatically with the customer's brand.
How the card is built
The edge writes the tags into each page's <head>, based on what's set on the Pages tab:
| On the card | Comes from |
|---|---|
| Title | the page's Title (og:title and twitter:title) |
| Description | the page's Description (og:description and twitter:description) |
| Image | the Share image, or the automatic thumbnail when the page has no image |
| Site name | Site name from the Site tab (og:site_name) |
| Link | the page's canonical (og:url) |
With an image and no X card chosen, X gets summary_large_image (large image). To see the result before
publishing, use the page editor's previews.
Share image per page
- On the Pages tab, open the domain default or a path pattern.
- Under Share image, paste the Image URL (it must start with
https://orhttp://). - Describe the image in Image alt text and, if you know them, fill in Width and Height (1200 × 630 is recommended).
- Click Save.
A path pattern without an image uses the domain default's.
Upload a thumbnail
Don't have the image at the right size? Upload any photo or artwork and Tenanci crops it into the three formats social networks use, in WebP and JPEG:
| Format | Where |
|---|---|
| 1200 × 630 | Facebook, WhatsApp, LinkedIn, Slack |
| 1200 × 600 | X (Twitter) |
| 1080 × 1080 | square |
- Open the Thumbnails tab.
- Under Upload thumbnail, click Choose image (JPG, PNG, WebP or AVIF, up to 8 MB).
- Click the image to pick the crop's focal point. Without a click, the crop is automatic and looks for the most interesting area.
- Click Generate thumbnails.
- Under Generated thumbnails, open or copy each format's URL with Copy URL, or click Use on the domain default to apply the 1200 × 630 version to the whole domain.
Automatic thumbnail
For pages without an image, Tenanci can generate a card with the page title over the customer's brand. First you build the template, then you turn the thumbnail on for your pages.
- On the Thumbnails tab, go to Automatic thumbnail.
- Click Use the customer's brand to pull the colors and logo from the theme published in this domain's TailorKit. Or adjust by hand: Background (Solid color or Gradient), Color, Second color, Angle, Text color, Accent color and Font (Inter or Lora).
- Choose the Text position (Left, Centered or Bottom) and whether to Show the site name and Show the domain.
- Under Logo, use Upload logo or Remove logo.
- Type a Preview title and check the Preview.
- Click Save template.
- On the Pages tab, check Generate an automatic thumbnail when there's no image on the domain default (and on any path patterns you want) and click Save.
The thumbnail uses the pattern's title (or the domain default's), with {{site.name}} replaced by the site name.
The {{page.title}} variable is left out, so every page under the same pattern shares the same thumbnail. Without a
title, the site name or the domain is shown.
Through the API
Upload the image with POST /domains/:id/seo/thumbnails, as
multipart/form-data, with the file field and, optionally, the focal point in focusX and focusY (0 to 1):
curl -X POST https://api.tenanci.com/v2/domains/dom_4h7n1q/seo/thumbnails \
-H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
-F "file=@storefront.jpg" \
-F "focusX=0.5" -F "focusY=0.35"The response has the URL of each format (variants.og, variants.x, variants.square, each in jpeg and
webp). To use one, send it in image with PUT /domains/:id/seo. The automatic
thumbnail template goes in the ogTemplate field of PUT /domains/:id/seo/site,
and the thumbnail is turned on per page with "ogAuto": true.

