How to Embed a Picture in an Email | Three Simple Methods

Embedding a picture in an email places the image directly into the message body, letting recipients see it without opening a separate attachment.

A picture that appears inside the message reads as part of the email, not an extra file to download. The fastest way to get that result is the Insert Photo button in your mail app — one click in Gmail or Outlook places the image exactly where you want it. For custom HTML emails, a hosted image referenced with an <img> tag does the same job with more control over sizing and placement.

Why Does Embedding Matter More Than Attaching?

An attached picture requires the recipient to open a separate file, which on mobile means a download and a gallery tap. An embedded picture appears directly in the message body, right where you put it, alongside whatever text surrounds it. The reader sees the image without an extra click, and the layout stays predictable. That difference matters most for newsletters, product images, and any email where the visual needs to land the moment the message opens.

How to Embed a Picture in Gmail

Gmail’s compose window keeps the insert tool in easy reach. Open a new message, click the cursor into the body where the image should appear, and tap the Insert Photo icon — the small picture button at the bottom of the compose bar. Select the file from your computer, Google Drive, or a shared album, and Gmail places it inline at the cursor.

Drag the corners of the embedded image to resize it. Gmail offers four alignment options (left, center, right, and full width) plus a link option that turns the image into a clickable button. The cursor must stay inside the message body before you click Insert Photo — if it lands in the subject line instead, the picture attaches rather than embeds.

How to Embed a Picture in Outlook

Microsoft’s support documentation shows a two-click path that works consistently. Place the cursor in the message body where you want the image, then go to the Insert ribbon tab and click Pictures. Browse to the image file on your computer, select it, and click Open. The picture appears at the cursor position, ready to resize or reposition.Microsoft’s official Outlook documentation confirms this workflow applies to both Outlook desktop and Outlook on the web.

Outlook also gives you resize handles on the image itself and a right-click formatting menu where you can adjust borders, shadows, and text wrapping behavior.

Embedding a Picture in Your Email: The HTML and CID Route

For custom-built emails — marketing templates, transactional messages, or any HTML-formatted send — you host the image on a server and reference it with a standard <img> tag. Upload the file to a publicly accessible location, copy the direct URL, and insert <img src="https://example.com/image.jpg" alt="description"> into your email’s HTML source. This is the most widely compatible method for any email builder that supports custom code.

Two variations exist for specific use cases. The CID method attaches the image to the email and references it by content ID (<img src="cid:unique-id" alt="description">), which ties the image to the message itself rather than a remote server. The Base64 method encodes the image data as a text string directly in the HTML, making the email self-contained but significantly larger. All three approaches require the email client to support HTML rendering, which most modern clients do — the hosted URL method is the easiest to maintain after sending.

Method Best For Key Action
Insert Photo Gmail (web) Click the photo icon at the bottom of Compose
Insert > Pictures Outlook (desktop/web) Insert ribbon, browse, and open the file
Drag and drop Most desktop clients Drag an image file directly into the compose window
Copy and paste All major clients Copy an image and paste it into the message body
HTML <img> tag Custom/HTML email Host the image, reference it with <img src="URL">
CID reference Advanced HTML email Attach the image, reference it by cid:
Base64 encoding Single-file delivery Convert the image to a Base64 string inside HTML

What Image Formats Work Best for Embedded Photos?

Three formats are supported by every major email client. JPEG handles photographs and complex images with gradients. PNG works for graphics, logos, and screenshots with crisp edges and transparency. GIF supports simple animations. Each of these renders reliably in Gmail, Outlook, Apple Mail, and Yahoo Mail.

Avoid uncommon formats like BMP, TIFF, or WebP. They fail to render in some clients and appear as a broken icon or a blank space. Sticking to JPEG, PNG, or GIF guarantees the image displays correctly on every platform a recipient might use.

How to Avoid Problems With Embedded Images

File size causes the most frequent failure. Gmail clips messages over 102KB in total, hiding everything below the cutoff behind a “[Message clipped]” link. Keep individual images under 200KB and the total email well under 102KB to prevent this.

Image blocking catches many senders off guard. Most email clients block remote images by default until the recipient approves them, so the message must make sense without the pictures visible. Alt text is essential here — it describes the image when the image itself doesn’t load. Write alt text that a reader could understand aloud.

Test your email in at least two clients before hitting send. Gmail and Outlook render images slightly differently, and what looks right on a desktop screen can overflow or shift alignment on mobile. A quick test catches sizing problems before they reach the recipient.

Specification Best Practice
File format JPEG, PNG, or GIF only
Max file size per image Under 1MB (200KB or less is ideal)
Total email size limit Under 102KB to avoid Gmail clipping
Image width 600–800px for most desktop clients
Display scaling Use 2x resolution, display at half size
Alt text Describe the image in 10–15 words
Image blocking test Verify the message works without images

Making Embedded Images Work Every Time

Use the insert button built into your mail app for everyday sends — the Insert Photo icon in Gmail or Insert > Pictures in Outlook places the image exactly where you want it in one click. For custom HTML emails, host the image publicly and reference it with an <img> tag, keeping the image under 200KB and the total message under 102KB. Choose JPEG, PNG, or GIF, add descriptive alt text, and test the finished email in at least two clients before you send. The picture lands in the body, visible the moment the message opens, and the recipient never has to download a separate file.

References & Sources