In short: cut the edge into the picture itself and save it as a PNG with the cut transparent, so whatever colour is around the image in the email shows through, in light mode and dark mode. Keep it at 1200px wide (twice a 600px email) and watch the file size: if a full photo as PNG is too heavy, use a JPG for the photo and a short transparent PNG strip for the edge underneath it. Never fill the edge with white unless your email is white in every mode.
A hero image that ends in a hard rectangle can look pasted on. A torn, wavy or curved edge makes it part of the email: the picture flows into the next section. It's a small thing that makes an email look designed rather than assembled, and it's easy to get wrong.
The shapes, and when to use them
- Torn paper: informal and handmade. Good for food, craft, seasonal and "behind the scenes" emails.
- Wave: soft and friendly. Good for travel, wellbeing and anything by the sea.
- Curve: one gentle arc. Calm and premium; works well under a full-width photo.
- Slant: energetic and modern. Good for sales and sport.
- Zigzag: playful and loud. Use sparingly, for offers and kids' brands.
Keep the depth small: about 16 to 32 pixels at a 600px email width. Deeper edges eat into the picture and push the button further down the screen.
Why the edge must be see-through
The common mistake is to fill the cut with white, because the template is white. Then:
- in dark mode, Gmail, Apple Mail and Outlook can show the email on a dark background, and your edge becomes a white wedge across the bottom of the picture;
- if the template changes colour, or the image is reused in a section with a tinted background, it shows as a stripe.
A transparent cut has none of these problems: it shows whatever is behind the image. Most email apps, including Outlook on Windows, show PNG transparency. JPGs can't be transparent at all, which is why the cut has to be a PNG.
If you must use a JPG, fill the cut with the exact colour of the section it sits on, and accept that it stays that colour in dark mode.
Keeping the file light
A full photo saved as PNG can be four or five times the size of the same photo as a JPG. Two ways to keep it light:
- One PNG, smaller. Scale it to 1200px wide (twice the 600px it's shown at, so it's sharp on phones) and check the size. Under about 200 KB is a good target for a hero.
- A JPG photo with a PNG edge strip. Save the photo as a JPG with a straight bottom edge, and the edge as a separate transparent PNG, only 30 to 60 pixels tall, that overlaps the bottom of the photo. Stack them in the same table cell with no gap:
<td style="padding:0;line-height:0;font-size:0">
<img src="hero.jpg" width="600" alt="A quiet road at dusk" style="display:block;width:100%;height:auto">
<img src="hero-edge.png" width="600" alt="" style="display:block;width:100%;height:auto;margin-top:-24px">
</td>
The edge strip gets an empty alt="", because it's decoration. Test the stack in Outlook for Windows: if a thin line appears between the two, display:block and line-height:0 on the cell usually fix it. Some versions of Outlook ignore negative margins, so the simplest version is a strip that sits directly under the photo rather than over it.
Words on top of the picture
If the hero has a headline or button on it, check two things before adding an edge:
- Contrast against the actual picture behind each line of text, not one colour you picked: large text needs 3:1 and smaller text 4.5:1 (WCAG). A pale sunset behind white words fails even when the darker sky above it passes.
- Alt text that includes every word on the image, because many inboxes hide images until someone taps "show images".
The edge shouldn't cut through any words: keep text at least the edge's depth away from it.
For the right dimensions, file size and format for the hero itself, see email hero image size.
Doing it
By hand: in your design tool, draw the edge shape as a mask on the photo, export the PNG at 2× with transparency, then compress it.
In Mailfois: open Images, then Text & style, drop in the picture and choose Blend into the email: torn paper, wave, curve, slant or zigzag, along the bottom, the top or both, with a depth. The cut starts see-through, you can preview it on a light email or a dark one, and the file size shows before you download. The headline and button contrast is checked against the picture as you go. How Text on an image works.
Do and don't
Do
- Make the cut transparent and save as PNG.
- Keep it 16 to 32px deep at 600px wide.
- Preview it on a light and a dark background before you send.
- Give decorative edge strips
alt="".
Don't
- Fill the cut with white "because the email is white".
- Use a JPG for a see-through edge: it can't be done.
- Let the edge cut through text or the button.
- Send a 1 MB hero because the PNG was saved at full size.
Questions
Does PNG transparency work in Outlook?
Outlook for Windows, Outlook on the web and the Outlook apps show PNG transparency, as do Gmail and Apple Mail. Test in the versions your audience uses, especially very old Outlook versions on Windows.
Why does my torn edge look white in dark mode?
Because the cut was filled with white instead of being transparent. Save the image as a PNG with the cut see-through, and it'll show the dark background instead.
What size should an email hero image be?
Shown at 600px wide, saved at 1200px wide so it's sharp on phones, and ideally under about 200 KB. Much taller than 800px can push your button below the fold on many phones.
Can I do this with CSS instead?
Not reliably. CSS masks, clip paths and SVG shapes aren't supported in many email apps, including Outlook for Windows and Gmail, so the edge has to be part of the image.