fbpx ...
Back

How to embed images in email: A quick guide to higher engagement

If you’ve ever sent a marketing email, you know the drill: use a hosted image linked with an <img> tag in your HTML. It's the standard for a reason. Every major platform, from Klaviyo to Mailchimp, defaults to this method because it keeps your emails light and nimble, which is absolutely critical for deliverability.

Why Getting Email Images Right Can Make or Break a Campaign

For marketers, getting images to show up perfectly in every single inbox can feel like a never-ending battle. But this isn't just about pretty pictures; it’s about driving actual revenue. When your images break, you don't just lose visual appeal—you lose subscriber trust and, more importantly, valuable clicks.

Sloppy image handling is a fast track to the spam folder. It leads to broken layouts and a frustrating user experience. On the flip side, a smart, deliberate approach ensures your visuals render beautifully everywhere, strengthening your brand and pulling customers in.

Bottom line: how you handle your images has a direct impact on whether your message inspires action. It’s a key piece of the puzzle when you write a marketing email that converts.

The Real-World Impact of Email Images

Visuals are not just decoration. They’re strategic assets that directly influence your most important metrics. The right hero image or product shot can communicate value faster than a wall of text, making that split-second impression that decides whether a user clicks "Shop Now" or "Delete."

The data doesn't lie. Emails that use a video thumbnail—just a static image with a 'Play' button overlay—can boost clicks by a staggering 300% compared to a simple text link. Even something as subtle as BIMI, which puts your logo right next to the subject line in the inbox, has been shown to increase open rates by up to 39%. It’s proof that every visual element, big or small, plays a role.

A broken image in a welcome email is like a broken storefront window. It instantly tells a new customer that you don’t pay attention to the details, eroding trust before the relationship even begins.

Setting the Stage for Your Strategy

To get this right, you need to know the tools in your toolbox. There are a few different ways to get an image into an email, and each has its own set of pros and cons depending on what you’re trying to accomplish.

We'll dig into the three main methods you'll encounter:

  • Hosted (or Linked) Images: This is the go-to for 99% of marketing campaigns. You store the images on a server, and they load when the subscriber opens the email. It's fast, efficient, and great for deliverability.
  • CID (Content-ID) Embedding: A more technical approach where the image is attached to the email itself, so it can be viewed offline. It's reliable but requires more setup. Use it for transactional emails like order confirmations.
  • Base64 (Inline) Embedding: Here, the image is converted into a long string of text and baked directly into the email's HTML. This guarantees the image will display, but it makes the email massive—a huge red flag for spam filters. Avoid this for marketing.

Picking the right method isn't just a technical choice. It's a strategic one that impacts everything from how fast your email loads to whether it even lands in the inbox. Understanding these options is the first step toward building an email strategy that delivers, both visually and financially.

Choosing Your Image Embedding Method

Deciding how to get images into your email isn't just a technical checkbox—it’s a strategic choice that directly impacts how your campaign performs. You've really got three main ways to do it: linked (hosted), CID (Content-ID), and Base64 (inline). Each one has its place, and knowing when to use which is key. The right choice for a flash sale email is probably wrong for a welcome series.

Think of it like choosing the right shipping method for one of your products. A big, heavy item needs a different approach than a small, light one. In the same way, what your email is trying to accomplish should dictate how you handle its images.

To make it simple, I put together this decision tree. It maps out which method aligns best with common marketing goals like driving sales, boosting engagement, or just building brand trust.

Decision guide flowchart for image embedding strategy, considering goals like revenue, engagement, and brand trust.

The bottom line? For most ecommerce goals, sticking with the standard linked or hosted method gives you the best mix of performance and reliability.

Linked (Hosted) Images: The Industry Standard

If you're using a platform like Klaviyo, Mailchimp, or Shopify Email, this is the method you’re already using. The concept is dead simple: your images are stored on a server (hosted), and the email just contains a link to that image file inside an <img> tag. When a subscriber opens your email, their client pings the server and downloads the image to display it.

This approach is the default for a very good reason.

Because the images aren't actually in the email, the file size stays incredibly small. This is a massive win for deliverability, as email clients are way less likely to flag a lightweight message as spam. It also makes things like dynamic content and accurate open tracking possible, since that server request is what triggers the tracking pixel.

But its greatest strength is also its main weakness. If a subscriber's email client is set to block images from external servers—a super common setting in Outlook—they'll just see empty boxes instead of your beautiful product shots. This makes writing compelling alt text a non-negotiable part of your job.

CID Embedding: For Guaranteed Offline Viewing

CID (Content-ID) embedding is a bit of a hybrid. Here, the image is attached to the email as a hidden file. Then, an HTML tag in the email references its unique Content-ID, telling the email client, "Hey, display the file that came with this message," instead of fetching it from a server.

The main benefit here is reliability. Since the image travels with the email, it will show up even if the recipient is offline or has external images blocked. This makes it a great choice for critical transactional emails like order receipts or shipping confirmations, where you need that info to be accessible no matter what.

The downside is the complexity. Setting up CID embedding often requires more technical know-how and isn't a built-in feature on most user-friendly email marketing platforms. It also makes the email's file size a bit bigger, though not nearly as much as our next option.

For an ecommerce brand, think of CID as the "special handling" option. You wouldn't use it for your daily marketing sends, but it can be invaluable for making sure crucial order information always gets through, protecting the customer experience.

Base64 (Inline) Embedding: The Last Resort

The third method, Base64 embedding, involves converting an entire image into a ridiculously long string of text and pasting it directly into the email's HTML code. This forces the image to render because it’s literally part of the email itself—no server call, no attachment.

This sounds great on paper, but it comes at a huge cost. That Base64 string makes the email's file size balloon, often by 30-40% or more. An email that was a lean 50KB could easily jump to 150KB with just one or two small Base64 images.

That massive file size is a giant red flag for spam filters. ISPs see large HTML files as suspicious, which can wreck your sender reputation and tank your deliverability. While it solves the problem of blocked images, it creates a much, much bigger one. For a clear-eyed view on this, you can learn more about how to maintain strong email deliverability best practices.

Unless you have a very specific, niche reason—like sending a single, critical image to a tiny internal list where deliverability is a non-issue—you should stay far away from this method for marketing campaigns.

A Practical Comparison of Image Embedding Methods

To help you visualize the trade-offs, here’s a quick-glance table comparing these three methods side-by-side.

Method How It Works Best For Pros Cons
Linked (Hosted) Images are stored on a server; email code links to them. Daily marketing emails, newsletters, promotional campaigns. Tiny email file size, great deliverability, supports tracking & dynamic content. Can be blocked by email clients, requiring a connection to view.
CID (Content-ID) Images are attached to the email as hidden files. Critical transactional emails (receipts, shipping updates). Displays offline, bypasses external image blocking. Increases file size slightly, more complex to implement, not widely supported.
Base64 (Inline) The image is converted to text and embedded in the HTML. Very niche internal use cases; almost never for marketing. Guaranteed to display as it's part of the email. Drastically increases file size, a huge red flag for spam filters, hurts deliverability.

Choosing the right method comes down to matching the tech to your campaign's goal.

So, how do you make the right call for your campaign? It really just boils down to balancing your goals with the technical realities.

  • For marketing campaigns (sales, newsletters, announcements): Always, always use Linked (Hosted) images. The benefits of small file size, reliable tracking, and high deliverability far outweigh the risk of some users having images blocked by default.
  • For critical transactional emails (receipts, password resets): Look into CID embedding if your system supports it. This ensures that essential info like a QR code or product image is always visible.
  • For niche, high-stakes situations: Only even think about Base64 if you absolutely must have a single, small image display for every single user and are willing to accept the major deliverability risk.

For over 99% of ecommerce email sends, sticking with the standard linked method used by your ESP is the smartest, safest, and most effective strategy.

Alright, theory is great, but let's get practical. How does this all work on the platforms you actually use every day? The good news is that most modern Email Service Providers (ESPs) handle the tricky parts for you, making the whole process incredibly simple.

Let’s walk through embedding images in three of the biggest platforms for ecommerce: Mailchimp, Klaviyo, and Shopify Email.

All these platforms default to the gold standard: the hosted <img> tag method. You won't have to mess around with CID or Base64 embedding. Their drag-and-drop editors are built for ease of use and, more importantly, high deliverability.

Your job is to focus on what matters: uploading optimized, high-quality visuals and writing sharp, descriptive alt text for every single one.

Working With Images in Mailchimp

Mailchimp is known for its friendly interface, and its Content Studio is a perfect example of that. Think of it as your central library for all brand assets. It lets you store, organize, and reuse images across campaigns without having to upload the same file over and over again.

When you're building an email, you’ll grab an Image content block and drag it into your layout. Clicking on it opens the Content Studio, where you can either upload something new or pick an image you’ve already stored.

A person holds a black tablet, viewing a website with images and text outdoors on a wooden bench.

Once you select your image, Mailchimp automatically generates all the necessary HTML behind the scenes. This frees you up to focus on the creative side of things.

Pro-Tip: Once your image is placed, don't just move on. Find the "Alt" field in the settings panel—that's where your alt text goes. Mailchimp also makes it easy to add a link, turning your product shots into clickable CTAs that send traffic right where you want it.

Embedding Dynamic Shopify Product Images in Klaviyo

For Shopify store owners, Klaviyo’s deep integration is a total game-changer. One of its best features is the ability to pull product info, including images, directly from your Shopify catalog into emails. This is a lifesaver for automated flows like abandoned cart reminders.

Instead of manually uploading product photos, you just use a Product Block.

  • Static Product Block: Use this to search for a specific product in your catalog. Klaviyo will automatically import the product title, price, and main image.
  • Dynamic Product Block: This is where the magic happens. In an automated flow, like a cart recovery email, this block dynamically pulls in the exact items that specific customer left behind.

This level of automation doesn't just save you a ton of time; it creates a hyper-personalized email that’s far more likely to convert. You’re reminding them of the very product they were looking at, which is infinitely more powerful than a generic message. To see how these platforms stack up, check out our guide on Klaviyo vs. Mailchimp.

Simple Image Handling in Shopify Email

If you’re sticking within the Shopify ecosystem and using its native tool, Shopify Email, the process is just as seamless. It's designed to feel like a natural extension of your store management dashboard.

Just like the other platforms, you’ll add an Image section to your email template. From there, you have a couple of straightforward options:

  1. Upload a new image: Grab a lifestyle photo or a custom campaign graphic from your computer.
  2. Select a product image: Browse your existing Shopify product library and pick an image that’s already uploaded.

Having direct access to your product library is incredibly efficient. Just updated your product photos in the Shopify admin? They’re instantly ready to go for your next email campaign. Once you place the image, the editor gives you simple fields to add alt text and link the image to a product page, collection, or any other URL.

Advanced Tip: Using a Custom HTML Block

Drag-and-drop is great, but sometimes you need more control—especially with how an image looks or behaves on mobile. For those moments, all three of these platforms offer a Custom HTML block.

If you’re hosting an image on your own CDN or another server, you can embed it manually with a simple <img> tag.

Here’s what that might look like:
A detailed description of your image
Using an HTML block lets you add inline CSS styles for precise control over dimensions, borders, and margins. This is really handy for making sure your design stays perfectly responsive, which is critical when over 50% of all emails are opened on a mobile device.

9 Essential Practices for High-Performing Email Images

Getting an image into an email is just step one. The real magic happens when you optimize it to perform—to load in a flash, grab your subscribers' attention, and, most importantly, dodge the spam folder. Think of these practices as your pre-flight checklist before launching any campaign.

These are the details that separate amateur-hour emails from the professional campaigns that actually drive revenue.

A laptop and a smartphone on a wooden table, both displaying web content about image best practices.

Just dropping in visuals without a strategy can seriously backfire. In fact, adding heavy images or GIFs can slash open rates by 23-37% because of slow load times and spam filter triggers. It’s a jarring stat, but it highlights why getting the technical details right is so critical.

Choose the Right Image File Type

The format you save your image in directly impacts its quality, file size, and load time. There’s no single "best" option; it’s all about picking the right tool for the right job.

  • JPG (or JPEG): Use this for product photos and lifestyle imagery. JPGs compress file size effectively with minimal quality loss, making them ideal for quick-loading emails.
  • PNG: Use this for logos, icons, and any graphic that needs a transparent background. PNGs maintain perfect quality but create larger files, so use them only when transparency is essential.
  • GIF: Use this for short, simple animations. Keep GIFs under three loops and use minimal colors to keep the file size from damaging your email's load time.

Keep File Sizes Lean and Fast

This is the golden rule of email images. Every single image needs to be compressed to be as small as possible without a noticeable drop in quality. A slow-loading email is an email that gets deleted. Period.

Your target for each individual image should be under 100KB. For a large hero image, you might get away with 150KB, but smaller is always better. Use a free tool like TinyPNG or Squoosh to shrink your images before you even think about uploading them to your email platform.

A one-second delay in page load time can cause a 7% drop in conversions. While an email isn't a webpage, the psychology is identical. Subscribers are impatient, and a slow-loading image is a lost sale.

Design for Mobile First

It's no secret that over half of all emails are opened on a phone. Designing for a small screen isn't optional anymore; it's the standard. Your images have to be responsive, meaning they automatically resize to fit whatever screen they're on.

Most modern email builders handle this automatically, but it's still your job to preview and test. Is the text on your banner legible? Are your buttons easy to tap with a thumb? Are your hero shots getting cropped weirdly? The best approach is a simple, single-column layout. For a deeper dive, check out our guide on how to format HTML emails for mobile.

Master Your Alt Text

Alternative text (or alt text) is the copy that shows up when an image can't be displayed. This happens way more often than you'd think, especially with clients like Outlook that block images by default.

Good alt text is your safety net. It makes sure your message still lands, even when your visuals don't.

  • Be descriptive: Don’t just write "product image." Write "Woman wearing the new blue waterproof jacket in the rain."
  • Keep it brief: A short, punchy sentence is all you need.
  • Include your CTA: If your image is a button that says "Shop The Sale," your alt text should say the exact same thing.

This isn’t just for deliverability—it’s a critical accessibility feature for subscribers who use screen readers to browse their inbox.

Maintain a Healthy Text-to-Image Ratio

Finally, one of the biggest red flags for spam filters is an email made entirely of images with little to no text. It's a classic trick spammers use to hide shady links, and inbox providers are wise to it.

To stay in their good graces, aim for a ratio of roughly 60% text to 40% images. This signals that you're sending legitimate, valuable content. It also means that if images get blocked, your core message is still there for your subscriber to read. And if you're looking to get more creative, learning how to create AI-generated images that convert can give you a serious edge.

The Future of Email Is Interactive with AMP

Standard images are great, but what if your entire email could act like a miniature, interactive storefront? That’s the whole idea behind AMP for Email. It lets your customers do things that matter—add an item to their cart, RSVP to an event, or leave a review—all without ever leaving their inbox.

Imagine an abandoned cart email where a shopper can select their size and complete the purchase right then and there. This isn't just a gimmick; it’s a total shift in how email marketing works. It turns a passive experience into an active one by getting rid of the friction of clicking through to another page.

This tech also allows for dynamic content that updates in real-time. A flash sale email can feature a live inventory countdown, or a shipping notification can display a live tracking map directly inside the message.

What AMP for Email Actually Looks Like

Let's move past the theory. Brands are already using AMP to create incredibly smooth customer experiences that drive serious results. It’s all about identifying those moments where an extra click is just one too many for a busy customer.

Here are a few real-world examples of how this plays out:

  • In-Email Carousels: Instead of a static grid of products, a customer can swipe through a high-resolution image carousel, just like they would on your website.
  • Live Order Confirmations: A customer can check their order status, see live tracking updates, and even start a return directly from their receipt email.
  • One-Click Reviews: After a purchase, a customer gets an email with a simple form to leave a rating and review, submitting it with a single tap.
  • Abandoned Cart Recovery: The email shows the items left behind with a button to “Add to Order” that finalizes the purchase without a single redirect.

This isn't just a minor improvement; it's a massive leap in engagement. The data shows that interactive emails powered by AMP deliver up to 300% higher CTRs, and 97% of marketers are already using at least one interactive element. For ecommerce specifically, those abandoned cart emails with in-email checkout recover 82% more revenue. Embedding a survey? You can expect to see 5.2x more responses than linking to an external page. You can discover more insights about the power of interactive email in this email marketing research report.

The Big Picture for Ecommerce Brands

So, what does this all mean for your email strategy? Adopting AMP is about rethinking what an email can do. It transforms your campaigns from static billboards into functional, helpful tools that make a customer's life easier. The barrier to conversion has never been lower.

Of course, AMP isn't supported by every single email client just yet, and it requires more technical setup than just dropping in a JPG. It’s a bigger investment, but the payoff in customer experience and conversion rates is undeniable. This is a clear indicator of where marketing is headed, and you can learn more about the big changes coming to SMS and email marketing.

As more email clients add support and more platforms integrate AMP-building tools, creating these interactive experiences will become as common as embedding a simple product image. The brands that get ahead of this curve will build a huge competitive advantage, creating frictionless journeys that delight customers and drive repeat business. The future of email isn't just visual—it's fully functional.

Common Questions About Embedding Email Images

Even when you follow all the best practices, embedding images in emails can still be a headache. Certain technical quirks and email client-specific issues seem to pop up over and over again.

This section is all about tackling those common, frustrating questions we hear from marketers. Think of it as your field guide for troubleshooting the most head-scratching moments with clear, no-nonsense answers.

Why Are My Images Not Showing Up in Outlook?

This is, without a doubt, the most common issue we see. The short answer? Security. By default, most versions of Outlook block images from external sources to protect its users. The recipient has to manually click a "Download Pictures" button to see them.

While you can't force Outlook to show your images, you can definitely prepare for it.

  • Compelling Alt Text is Non-Negotiable: Your message has to make sense even if it's just text. Your alt text should describe the image and, more importantly, ensure the call-to-action is crystal clear.
  • Check Your Image URLs: A simple typo in the URL is a frequent culprit. Make sure the link isn't broken and that the image is hosted on a server that's publicly accessible.
  • Consider CID for Critical Visuals: For absolutely essential transactional emails where an image must be seen (like a QR code), CID embedding can sometimes get around this block. However, it's not a practical solution for your day-to-day marketing campaigns.

Will Using Too Many Images Hurt My Deliverability?

Yes, it absolutely can. This is a mistake that can do real, long-term damage to your sender reputation. A high image-to-text ratio is a huge red flag for spam filters, which often see image-heavy emails as suspicious or fraudulent.

On top of that, every image you add increases the email's total file size. Large emails don't just load slowly—frustrating users on mobile—but they can also be flat-out rejected by email servers with strict size limits.

The sweet spot we aim for is a 60/40 text-to-image balance. This ratio signals to inbox providers like Gmail and Outlook that you're sending legitimate content, which helps keep you out of the spam folder.

What Is the Best Image Size for Email Campaigns?

When we talk about "size," we're really talking about two different things: dimensions (pixels) and file weight (kilobytes). Both are critical for a good user experience.

For dimensions, stick to a width between 600-640 pixels. This has long been the industry standard and fits perfectly within the viewing panes of most desktop and mobile email clients, preventing that awkward horizontal scrolling. The height can be whatever you need, but getting the width right is what keeps your layout from breaking.

For file weight, the name of the game is speed. Always, always compress your images to keep them under 100KB. This ensures they load almost instantly, even for subscribers on a shaky mobile connection.

Can I Embed a Video That Plays Directly in an Email?

No, not in the way you're probably hoping. The major email clients—Gmail, Outlook, and Apple Mail included—do not support direct video playback inside an email. If you try to embed a video file, you'll almost always end up with a broken, non-functional mess.

The proven best practice is to fake it.

Embed a high-quality static image that looks like a video player. Use a great thumbnail from your video and overlay a prominent 'play' button icon right on top. Then, link that entire image directly to your video hosted on YouTube, Vimeo, or a dedicated landing page. This technique is shockingly effective and has been shown to increase click-through rates by up to 300%.


Ready to turn your email strategy into a revenue-generating machine? The experts at Ecommerce Boost build data-driven campaigns that add 25-40% to store revenue. Get your free consultation today and see what we can do for your brand.

Seraphinite AcceleratorBannerText_Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.