{"id":101,"date":"2026-10-12T17:01:19","date_gmt":"2026-10-12T17:01:19","guid":{"rendered":"https:\/\/blog.skndan.com\/jsontoimg\/?p=101"},"modified":"2026-11-17T13:33:27","modified_gmt":"2026-11-17T13:33:27","slug":"personalized-email-hero-images-at-scale","status":"publish","type":"post","link":"https:\/\/blog.skndan.com\/jsontoimg\/2026\/10\/12\/personalized-email-hero-images-at-scale\/","title":{"rendered":"Email Hero Image Size and Specs: 600px, JPEG, Send-Time Renders"},"content":{"rendered":"<p>Email-client constraints: design at 1200\u00d7630, display at 600px, JPEG under 150KB, alt text required. The use-case page is <a href=\"https:\/\/jsontoimg.com\/use-cases\/email-hero-images\">\/use-cases\/email-hero-images<\/a>. Measure lift in your own ESP; do not copy someone else\u2019s ROI number.<\/p>\n<h2>Overview<\/h2>\n<p>Your email hero image is the first pixel a subscriber sees \u2014 and for most campaigns, it\u2019s also the most wasted one. It\u2019s the same generic banner sent to 50,000 people, while every other part of the email (subject line, product recommendations, even the sender name) gets personalized.<\/p>\n<p>That\u2019s backwards. Personalized heroes are worth it only if you can measure lift in your own ESP. Generating one unique image per subscriber is a batch of signed URLs or send-time JPEGs \u2014 not a Chromium farm.<\/p>\n<p>It doesn\u2019t have to be. With a JSON-driven image API like jsontoimg, you can generate a fully personalized hero image for every subscriber in a batch \u2014 name, product, price, location, countdown timer, anything in your data \u2014 in a single API call. This guide walks through the whole pipeline: template design, batch generation, caching, and email-client-safe sizing.<\/p>\n<h2>Why the Hero Image Is the Highest-Leverage Pixel in Email<\/h2>\n<p>Before diving into code, it\u2019s worth understanding why this matters. The data is unambiguous:<\/p>\n<ul>\n<li>Emails with personalized content see <strong>29% higher open rates<\/strong> and <strong>41% higher click-through rates<\/strong> than static sends (The Loop Marketing, 2026)<\/li>\n<li>Personalized emails deliver <strong>6x higher transaction rates<\/strong> (Campaign Monitor)<\/li>\n<li>Usage of AI for generating email imagery grew <strong>340% from 2024 to 2025<\/strong> (Leadoom)<\/li>\n<\/ul>\n<p>The hero image sits above the fold, occupies the largest visual area, and sets expectations for everything below it. If it\u2019s generic, the reader\u2019s brain classifies the email as bulk before reading a single word. If it\u2019s clearly built for *them*, the opposite happens.<\/p>\n<h2>The Old Ways of Doing This (and Why They Break)<\/h2>\n<h3>Manual design in Figma\/Canva<\/h3>\n<p>Fine for one campaign. Impossible at 10,000 subscribers. Nobody is hand-designing 10,000 unique heroes.<\/p>\n<h3>Dynamic image platforms (NiftyImages, Liveclicker, etc.)<\/h3>\n<p>These work, but they\u2019re add-ons to your email platform, they cost per render, and you\u2019re locked into their template engine. If you\u2019re already running an API-driven stack, bolting on a separate visual platform is friction you don\u2019t need.<\/p>\n<h3>DIY rendering with Puppeteer<\/h3>\n<p>Full control, but now you\u2019re maintaining a headless browser fleet, font installation, scaling, and rendering infrastructure \u2014 all to generate one image per subscriber. That\u2019s a lot of moving parts for a marketing email.<\/p>\n<h3>The jsontoimg approach<\/h3>\n<p>Design a template once, send JSON per subscriber, get images back. No browser infrastructure, no template lock-in, no manual design. One POST request per subscriber (or one batch request for thousands), and you\u2019re done.<\/p>\n<h2>Step 1: Design the Hero Template<\/h2>\n<p>A hero template is a layout with placeholders. In jsontoimg you define:<\/p>\n<ul>\n<li><strong>Dimensions<\/strong> \u2014 1200\u00d7630 (displayed at 600px, exported at 2x for retina)<\/li>\n<li><strong>Text layers<\/strong> \u2014 greeting, name, offer, product title, price<\/li>\n<li><strong>Image layers<\/strong> \u2014 product photo, logo, background<\/li>\n<li><strong>Styles<\/strong> \u2014 fonts, colors, alignment, text wrapping<\/li>\n<\/ul>\n<p>Think of it as a design file, but expressed as JSON:<\/p>\n<pre><code>{\n  &quot;template&quot;: {\n    &quot;width&quot;: 1200,\n    &quot;height&quot;: 630,\n    &quot;background&quot;: {\n      &quot;type&quot;: &quot;color&quot;,\n      &quot;value&quot;: &quot;#0F172A&quot;\n    },\n    &quot;layers&quot;: [\n      {\n        &quot;type&quot;: &quot;image&quot;,\n        &quot;src&quot;: &quot;named layer product_image&quot;,\n        &quot;x&quot;: 60,\n        &quot;y&quot;: 120,\n        &quot;width&quot;: 400,\n        &quot;height&quot;: 400,\n        &quot;fit&quot;: &quot;cover&quot;\n      },\n      {\n        &quot;type&quot;: &quot;text&quot;,\n        &quot;value&quot;: &quot;Hey named layer first_name,&quot;,\n        &quot;x&quot;: 520,\n        &quot;y&quot;: 140,\n        &quot;font_size&quot;: 56,\n        &quot;font_weight&quot;: 700,\n        &quot;color&quot;: &quot;#FFFFFF&quot;,\n        &quot;align&quot;: &quot;left&quot;\n      },\n      {\n        &quot;type&quot;: &quot;text&quot;,\n        &quot;value&quot;: &quot;named layer product_name is back in stock&quot;,\n        &quot;x&quot;: 520,\n        &quot;y&quot;: 220,\n        &quot;font_size&quot;: 36,\n        &quot;font_weight&quot;: 400,\n        &quot;color&quot;: &quot;#94A3B8&quot;,\n        &quot;max_width&quot;: 600,\n        &quot;wrap&quot;: true\n      },\n      {\n        &quot;type&quot;: &quot;text&quot;,\n        &quot;value&quot;: &quot;named layer price \u00b7 Buy now \u2192&quot;,\n        &quot;x&quot;: 520,\n        &quot;y&quot;: 320,\n        &quot;font_size&quot;: 44,\n        &quot;font_weight&quot;: 700,\n        &quot;color&quot;: &quot;#F59E0B&quot;\n      }\n    ]\n  }\n}\n<\/code><\/pre>\n<p>Design once. The template lives in your codebase (or jsontoimg\u2019s template storage), and every subscriber\u2019s image is a data variation of it.<\/p>\n<h2>Step 2: Generate One Image Per Subscriber<\/h2>\n<p>Now the fun part. For a list of 10,000 subscribers, you build an array of payloads \u2014 one per person \u2014 and send it in a single batch request:<\/p>\n<pre><code>import requests\n\nAPI_URL = &quot;https:\/\/app.jsontoimg.com\/api\/v1\/render&quot;\n\nsubscribers = [\n    {\n        &quot;first_name&quot;: &quot;Priya&quot;,\n        &quot;product_name&quot;: &quot;Noise-Cancelling Headphones&quot;,\n        &quot;product_image&quot;: &quot;https:\/\/cdn.example.com\/products\/headphones.png&quot;,\n        &quot;price&quot;: &quot;$199&quot;\n    },\n    {\n        &quot;first_name&quot;: &quot;Marcus&quot;,\n        &quot;product_name&quot;: &quot;Mechanical Keyboard&quot;,\n        &quot;product_image&quot;: &quot;https:\/\/cdn.example.com\/products\/keyboard.png&quot;,\n        &quot;price&quot;: &quot;$149&quot;\n    },\n    # ... 9,998 more\n]\n\n# Batch: send an array, get an array back\nresp = requests.post(&quot;https:\/\/app.jsontoimg.com\/api\/v1\/renders\/batch&quot;, json={\n    &quot;jobs&quot;: [\n        {\n            &quot;template&quot;: &quot;hero_v2&quot;,\n            &quot;format&quot;: &quot;jpg&quot;,\n            &quot;layers&quot;: {\n                &quot;first_name&quot;: { &quot;text&quot;: row[&quot;first_name&quot;] },\n                &quot;product_name&quot;: { &quot;text&quot;: row[&quot;product_name&quot;] },\n                &quot;price&quot;: { &quot;text&quot;: row[&quot;price&quot;] },\n            },\n        }\n        for row in subscribers[:50]\n    ]\n})\nbatch = resp.json()  # accepted jobs; poll GET \/api\/v1\/renders\/batches\/{id}\n<\/code><\/pre>\n<p>Each item resolves the <code>named layer placeholders<\/code> in the template and renders a unique image. For very large lists, or when you don\u2019t want to block on the response, switch to webhook delivery \u2014 jsontoimg calls your callback URL when the batch finishes:<\/p>\n<pre><code>resp = requests.post(&quot;https:\/\/app.jsontoimg.com\/api\/v1\/renders\/batch&quot;, json={\n    &quot;jobs&quot;: [\n        {\n            &quot;template&quot;: &quot;hero_v2&quot;,\n            &quot;format&quot;: &quot;jpg&quot;,\n            &quot;webhookUrl&quot;: &quot;https:\/\/api.yourdomain.com\/webhooks\/jsontoimg&quot;,\n            &quot;layers&quot;: {\n                &quot;first_name&quot;: { &quot;text&quot;: row[&quot;first_name&quot;] },\n                &quot;product_name&quot;: { &quot;text&quot;: row[&quot;product_name&quot;] },\n                &quot;price&quot;: { &quot;text&quot;: row[&quot;price&quot;] },\n            },\n        }\n        for row in subscribers[:50]\n    ]\n})\n# 202 + batch id. Loop remaining subscribers in chunks of 50.\n<\/code><\/pre>\n<h2>Step 3: Cache and Serve the Images<\/h2>\n<p>Here\u2019s the subtlety most people miss: <strong>email clients download images at open time, not send time<\/strong>. So you have two options:<\/p>\n<h3>Option A: Render at send time, host statically<\/h3>\n<p>Generate all images before the campaign, upload to your CDN\/S3, and reference the static URLs in the email. This is the simplest and most predictable path. For a 50K list at ~100KB per image, that\u2019s about 5GB of storage for one campaign \u2014 trivial on any object store.<\/p>\n<h3>Option B: Render at open time (truly dynamic)<\/h3>\n<p>If you want real-time personalization (countdown timers, current inventory, weather-based content), the image URL points to your API and renders on first open:<\/p>\n<pre><code>https:\/\/app.jsontoimg.com\/api\/v1\/img\/&lt;template&gt;?sig=...\n<\/code><\/pre>\n<p>The email client fetches this URL when the subscriber opens the message, so the image is always current. Add a CDN in front and cache by the full query string \u2014 the first open pays the render cost, the next 9,999 hit the cache.<\/p>\n<p>&gt; <strong>Practical rule:<\/strong> use send-time rendering for stable content (names, products, prices) and open-time rendering for anything that must stay fresh (countdowns, stock levels, live offers).<\/p>\n<h2>Step 4: Make the Images Email-Client-Safe<\/h2>\n<p>Email is the most conservative rendering environment on the web, so follow these specs when generating heroes:<\/p>\n<table>\n<thead>\n<tr>\n<th>Aspect<\/th>\n<th>Best practice<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Display width<\/td>\n<td>600 px (max-width: 600px, width: 100%)<\/td>\n<\/tr>\n<tr>\n<td>Source width<\/td>\n<td>1200 px (2x for retina)<\/td>\n<\/tr>\n<tr>\n<td>File size<\/td>\n<td>\u2264 100\u2013150 KB per image<\/td>\n<\/tr>\n<tr>\n<td>Format<\/td>\n<td>JPEG for photos, PNG for transparent\/logos<\/td>\n<\/tr>\n<tr>\n<td>Alt text<\/td>\n<td>Always set \u2014 images are blocked by default in many clients<\/td>\n<\/tr>\n<tr>\n<td>Text\/image ratio<\/td>\n<td>Keep at least 60% text \/ 40% image for deliverability<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In your jsontoimg template, that means designing at 1200\u00d7630 and letting the API output a compressed JPEG. A 1200px-wide hero displayed at 600px renders crisply on iPhone Retina, MacBook Pro XDR, and 4K displays without bloating the message.<\/p>\n<p>And always include alt text in the email HTML \u2014 most email clients block images by default, and the alt text is what sells the click before the image loads:<\/p>\n<pre><code>&lt;img src=&quot;https:\/\/cdn.yourdomain.com\/heroes\/priya-20260813.jpg&quot;\n     width=&quot;600&quot; style=&quot;width:100%;max-width:600px;height:auto;&quot;\n     alt=&quot;Priya, your Noise-Cancelling Headphones are back in stock \u2014 $199&quot;&gt;\n<\/code><\/pre>\n<p>The format advice above is worth checking against data rather than taking on faith. Can I email tracks client support feature by feature: <a href=\"https:\/\/www.caniemail.com\/features\/image-webp\/\">WebP in email<\/a> and <a href=\"https:\/\/www.caniemail.com\/features\/image-avif\/\">AVIF in email<\/a> are both well short of the near-universal support they enjoy in browsers, which is the whole reason a hero image ships as JPG while the same template serves WebP on the web. The other constraint is proxying: Gmail fetches and caches images through <a href=\"https:\/\/support.google.com\/mail\/answer\/145919\">its own image proxy<\/a>, so an open-time render is fetched by Google rather than by the reader, and per-open personalisation behaves differently than you would expect. Keep the markup boring too \u2014 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Reference\/Elements\/img\">MDN&#39;s img reference<\/a> is a reminder that <code>width<\/code>, <code>height<\/code>, and <code>alt<\/code> are doing real work when images are blocked by default. Caching is the last piece: a hero rendered at send time should go out with a long <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Reference\/Headers\/Cache-Control\">Cache-Control<\/a> lifetime, because that file will never change once the message is sitting in someone&#39;s inbox.<\/p>\n<h2>Real-World Patterns That Work<\/h2>\n<h3>Birthday offers<\/h3>\n<p>Pull the subscriber\u2019s birth date, generate a hero with their name and a \u201cHappy Birthday\u201d offer. Automated birthday emails average a <strong>43% open rate<\/strong> and convert <strong>5x better<\/strong> than promotional emails.<\/p>\n<h3>Back-in-stock alerts<\/h3>\n<p>The hero shows the exact product with the subscriber\u2019s name \u2014 not a generic \u201cYour item is available\u201d banner. This is the HostelWorld pattern: the hero calls out something specific to the reader.<\/p>\n<h3>Abandoned cart<\/h3>\n<p>Render the actual product, price, and a countdown (\u201cYour 15% discount expires in 6 hours\u201d) directly into the hero. The image is the reminder; the subject line just gets them to open.<\/p>\n<h3>Location-based content<\/h3>\n<p>Show the nearest store or a local event using the subscriber\u2019s geodata. One template, thousands of local variations.<\/p>\n<h2>Key Takeaways<\/h2>\n<ul>\n<li><strong>Personalization is measurable:<\/strong> use your ESP\u2019s lift, not a blog statistic. The hero is still the largest pixel in the message<\/li>\n<li><strong>One template, many images:<\/strong> design the hero once in JSON, then generate one image per subscriber with a single batch API call<\/li>\n<li><strong>Send-time vs open-time:<\/strong> render stable content (name, product, price) at send time; use open-time rendering for countdowns and live data<\/li>\n<li><strong>Mind the email specs:<\/strong> 600px display \/ 1200px source, \u2264150KB, JPEG, alt text always, 60\/40 text-to-image ratio<\/li>\n<li><strong>No infrastructure:<\/strong> no Puppeteer fleet, no design tooling, no per-render lock-in \u2014 just JSON in, images out<\/li>\n<\/ul>\n<h2>FAQ<\/h2>\n<h3>What size should a personalized email hero image be?<\/h3>\n<p>Design for 600 px of display width \u2014 the safe content width in most email clients \u2014 and render at 2x so it stays sharp on retina screens. The client scales it down with CSS.<\/p>\n<h3>Should I render email hero images at send time or at open time?<\/h3>\n<p>Send time is cheaper and safer: you render once per subscriber, host the file, and the email just links to it. Open time is only worth the latency when the content genuinely has to be current at the moment of opening.<\/p>\n<h3>Which image format is safest for email?<\/h3>\n<p>JPG. Email client support for WebP and AVIF is still uneven, so keep those for the web and send JPG (or PNG when you need transparency) in the message itself.<\/p>\n<h3>How many credits does a personalized campaign cost?<\/h3>\n<p>One credit per image, so one per subscriber if every hero is unique. A 10,000-subscriber send is 10,000 images; re-sends that reuse the same stored file cost nothing more.<\/p>\n<h2>Related Resources<\/h2>\n<ul>\n<li><a href=\"https:\/\/jsontoimg.com\/tools\/free-email-hero-generator\">Free email hero generator<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/docs\/integrations\/klaviyo\">Klaviyo integration docs<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\/email-hero-images\/\">Personalized Email Hero Images at Scale (use case page)<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\/welcome-graphics\/\">Personalized Welcome Graphics for Every New Signup<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\/ad-creatives\/\">A\/B Testing Ad Creatives at Scale with JSON-Driven Images<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\/open-graph-images\/\">How to Auto-Generate Open Graph Images at Scale<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/blog\/image-automation-api-workflows\">Image automation API guide<\/a><\/li>\n<\/ul>\n<p>Zoom out: <a href=\"https:\/\/jsontoimg.com\/blog\/json-to-image-converter\">How JSON-to-Image Conversion Works<\/a> maps the whole template, named-layer, and render-job architecture.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Email-client constraints: design at 1200\u00d7630, display at 600px, JPEG under 150KB, alt text required. Measure lift in your own ESP.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5,11,26,24,4,3,25],"class_list":["post-101","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-api","tag-automation","tag-dynamic-images","tag-email-marketing","tag-image-generation","tag-jsontoimg","tag-personalization"],"_links":{"self":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":4,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"predecessor-version":[{"id":373,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts\/101\/revisions\/373"}],"wp:attachment":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}