Server-rendered Open Graph images for hotel pages (1200 × 630 JPEG). Nine layout variants, each shown with the same four scenarios: English with dates and guests, English without dates and a long title, Russian with dates across a year boundary, Japanese with CJK fallback fonts.
Every preview has its own page under p/ with real og:* tags for messengers and the Facebook debugger — use the “Share page” link under a picture. Regenerate the pages with node build-pages.mjs https://host/path.
Full-bleed hotel photo under a dark gradient. Rating badge top right, property type and stars, title, location, stay chips and a blue CTA at the bottom. Current default (v=photo).
?v=photo&id=p-cl5810404ed30e&locale=en&arrival=2026-10-12&departure=2026-10-15&adults=2Share page ↗
?v=photo&id=p-cl581e3b7184ab&locale=enShare page ↗
?v=photo&id=p-cl5810404ed30e&locale=ru&arrival=2026-12-28&departure=2027-01-03&adults=4Share page ↗
?v=photo&id=p-cl581e3b7184ab&locale=ja&arrival=2026-11-01&departure=2026-11-09Share page ↗Light layout. Details on the left, the hotel photo framed in its own card on the right with the rating badge overlaid, faint Karta mark in the background (v=card).
?v=card&id=p-cl5810404ed30e&locale=en&arrival=2026-10-12&departure=2026-10-15&adults=2Share page ↗
?v=card&id=p-cl581e3b7184ab&locale=enShare page ↗
?v=card&id=p-cl5810404ed30e&locale=ru&arrival=2026-12-28&departure=2027-01-03&adults=4Share page ↗
?v=card&id=p-cl581e3b7184ab&locale=ja&arrival=2026-11-01&departure=2026-11-09Share page ↗Brand-first layout on Karta blue: large logo with the tagline, photo card, uppercase eyebrow with type and location, rating with a word label, a selling line under the title and an inverted white CTA (v=brand).
?v=brand&id=p-cl5810404ed30e&locale=en&arrival=2026-10-12&departure=2026-10-15&adults=2Share page ↗
?v=brand&id=p-cl581e3b7184ab&locale=enShare page ↗
?v=brand&id=p-cl5810404ed30e&locale=ru&arrival=2026-12-28&departure=2027-01-03&adults=4Share page ↗
?v=brand&id=p-cl581e3b7184ab&locale=ja&arrival=2026-11-01&departure=2026-11-09Share page ↗After the static geo-preview.jpg used on geo landings: grey-dimmed photo, big logo with karta.com, blue pill top right, uppercase headline bottom left (v=plain).
?v=plain&id=p-cl5810404ed30e&locale=en&arrival=2026-10-12&departure=2026-10-15&adults=2Share page ↗
?v=plain&id=p-cl581e3b7184ab&locale=enShare page ↗
?v=plain&id=p-cl5810404ed30e&locale=ru&arrival=2026-12-28&departure=2027-01-03&adults=4Share page ↗
?v=plain&id=p-cl581e3b7184ab&locale=ja&arrival=2026-11-01&departure=2026-11-09Share page ↗Price-first layout. Photo on the left, a dark panel on the right with the nightly rate in large type, the original rate struck through, a yellow discount badge and the total for the stay. The rate comes from the estimate endpoint for the given dates; without availability the panel falls back to the tagline (v=deal, honours currency).
?v=deal&id=p-cl581e3b7184ab&locale=en&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=USDShare page ↗
?v=deal&id=p-cl581e3b7184ab&locale=enShare page ↗
?v=deal&id=p-cl581e3b7184ab&locale=ru&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=EURShare page ↗
?v=deal&id=p-cl581e3b7184ab&locale=ja&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=JPYShare page ↗Light version of the price-first layout: same structure, the right panel is off-white with navy type and light-blue chips (v=deal-light, honours currency).
?v=deal-light&id=p-cl581e3b7184ab&locale=en&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=USDShare page ↗
?v=deal-light&id=p-cl581e3b7184ab&locale=enShare page ↗
?v=deal-light&id=p-cl581e3b7184ab&locale=ru&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=EURShare page ↗
?v=deal-light&id=p-cl581e3b7184ab&locale=ja&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=JPYShare page ↗Scaled-up version of photo for legibility in small share thumbnails: fewer and larger elements — title up to 84 px, 34 px location, big rating pill, compact date chips and a 32 px CTA (v=big).
?v=big&id=p-cl5810404ed30e&locale=en&arrival=2026-10-12&departure=2026-10-15&adults=2Share page ↗
?v=big&id=p-cl581e3b7184ab&locale=enShare page ↗
?v=big&id=p-cl5810404ed30e&locale=ru&arrival=2026-12-28&departure=2027-01-03&adults=4Share page ↗
?v=big&id=p-cl581e3b7184ab&locale=ja&arrival=2026-11-01&departure=2026-11-09Share page ↗Scaled-up price layout: 560 px panel, rate up to 112 px, larger discount badge, struck rate and CTA; the photo side keeps only rating, title with stars and location (v=big-deal, honours currency).
?v=big-deal&id=p-cl581e3b7184ab&locale=en&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=USDShare page ↗
?v=big-deal&id=p-cl581e3b7184ab&locale=enShare page ↗
?v=big-deal&id=p-cl581e3b7184ab&locale=ru&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=EURShare page ↗
?v=big-deal&id=p-cl581e3b7184ab&locale=ja&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=JPYShare page ↗Light version of the scaled-up price layout (v=big-deal-light, honours currency).
?v=big-deal-light&id=p-cl581e3b7184ab&locale=en&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=USDShare page ↗
?v=big-deal-light&id=p-cl581e3b7184ab&locale=enShare page ↗
?v=big-deal-light&id=p-cl581e3b7184ab&locale=ru&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=EURShare page ↗
?v=big-deal-light&id=p-cl581e3b7184ab&locale=ja&arrival=2026-11-01&departure=2026-11-05&adults=2¤cy=JPYShare page ↗https://karta.com/og/hotel.jpg?id=p-cl5810404ed30e&v=photo&locale=en&arrival=2026-10-12&departure=2026-10-15&adults=2
| Parameter | Required | Description |
|---|---|---|
id | yes | Hotel listing_id. Invalid value returns 400, unknown listing redirects to the generic Karta preview. |
v | no | Layout variant: photo, card, brand, plain, deal, deal-light, big, big-deal, big-deal-light. Newer experiments — ribbon, polaroid, ticket and the animated GIF — live on a separate page. Unknown values fall back to the configured default. |
locale | no | Site locale code (en, ru, ja, …). Drives labels, date format and the title language from the API. Defaults to en. |
arrival, departure | no | YYYY-MM-DD, both required together, 1–90 nights. Adds stay details and switches the CTA to “Book now”. |
adults | no | Guest count shown as a chip; also passed to the estimate for the deal variant (defaults to 2 there). |
currency | no | ISO code for prices in the deal variant (USD, EUR, JPY, …). Unknown values fall back to USD. |