Embedded images in emails can also be included as attachments rather than being directly encoded in the HTML body.
Here’s how it works:
Attaching the Image
When you attach an image to an email, it becomes a separate part of the MIME (Multipurpose Internet Mail Extensions) structure of the email. Each part of a MIME email has its own headers, such as Content-Type, Content-Disposition, and Content-ID.For example, an attached image might have headers like these:
In the HTML body of the email, you can reference the attached image using the img tag with a src attribute that uses the cid: scheme followed by the Content-ID of the image:
<img src="cid:image123" alt="Embedded Image">
In this example, image123 is the Content-ID assigned to the image in the MIME part headers. When the email is viewed, the email client will display the attached image in place of the img tag.
Disadvantages
Email Size: Attaching images can increase the overall size of the email, which might affect loading times and bandwidth usage for recipients.Spam Filters: Emails with attachments are sometimes more likely to be flagged by spam filters, especially if the attachments are large.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Documentation","colors":{"primary":"#054587","light":"#0067f4","dark":"#054587"},"logo":{"light":"https://mintcdn.com/campaigncleaner/bjTHVI1r1QGT_45d/logo/cclogorefresh50.png?fit=max\u0026auto=format\u0026n=bjTHVI1r1QGT_45d\u0026q=85\u0026s=7766e7443b9bd032fc1cfa05c695aff3","dark":"https://mintcdn.com/campaigncleaner/O9rGh4aLDabsUqb3/logo/cclogorefreshwhite45.png?fit=max\u0026auto=format\u0026n=O9rGh4aLDabsUqb3\u0026q=85\u0026s=663e894b3d0a283db4bc5f479e5034ed","href":"https://campaigncleaner.com"},"favicon":"https://mintcdn.com/campaigncleaner/bjTHVI1r1QGT_45d/logo/cc64.png?fit=max\u0026auto=format\u0026n=bjTHVI1r1QGT_45d\u0026q=85\u0026s=3a920b249d2a949953f60333f229aac0","api":{"openapi":"https://campaign-cleaner.github.io/swagger/campaigncleaner.yaml","mdx":{"server":"https://api.campaigncleaner.com"}},"navbar":{"links":[{"href":"https://campaigncleaner.com/tools/mail-tester/","label":"eMail Tester"},{"href":"https://campaigncleaner.com/email-deliverability-consultant.html","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://members.campaigncleaner.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"campaigncleaner","hasAudioNarration":false,"actualSubdomain":"campaigncleaner","customDomains":["docs.campaigncleaner.com"],"gitSource":{"type":"github","owner":"campaign-cleaner","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ad7bea125ca96239b607529","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"Documentation","count":76},{"language":"default","tag":"API Reference","count":44},{"language":"default","tag":"Features \u0026 Settings","count":38},{"language":"default","tag":"Inbox Placement Monitor","count":12},{"language":"default","tag":"Free Tools","count":12},{"language":"default","tag":"API Endpoints","count":9},{"language":"default","tag":"Legal and Compliance","count":9},{"language":"default","tag":"Campaign Managmement","count":5},{"language":"default","tag":"Management","count":3},{"language":"default","tag":"Members Tools","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"references/embedded-images","slug":"/references/embedded-images","pageMetadata":{"title":"Embedded Images","description":"Embedded images in emails can also be included as attachments rather than being directly encoded in the HTML body.","href":"/references/embedded-images"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Embedded images in emails can also be included as attachments rather than being directly encoded in the HTML body.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`here’s-how-it-works`,children:`Here’s how it works:`}),`\n`,_jsx(Heading,{level:`2`,id:`attaching-the-image`,children:`Attaching the Image`}),`\n`,_jsx(_components.p,{children:`When you attach an image to an email, it becomes a separate part of the MIME (Multipurpose Internet Mail Extensions) structure of the email. Each part of a MIME email has its own headers, such as Content-Type, Content-Disposition, and Content-ID.`}),`\n`,_jsx(_components.p,{children:`For example, an attached image might have headers like these:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Content-Type: image/jpeg; name=\"image.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Content-Disposition: attachment; filename=\"image.jpg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Content-ID: \u003cimage123>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Content-Transfer-Encoding: base64`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`referencing-the-image-in-html`,children:`Referencing the Image in HTML`}),`\n`,_jsx(_components.p,{children:`In the HTML body of the email, you can reference the attached image using the img tag with a src attribute that uses the cid: scheme followed by the Content-ID of the image:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\u003cimg src=\"cid:image123\" alt=\"Embedded Image\">`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`In this example, image123 is the Content-ID assigned to the image in the MIME part headers. When the email is viewed, the email client will display the attached image in place of the img tag.`}),`\n`,_jsx(Heading,{level:`2`,id:`disadvantages`,children:`Disadvantages`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Email Size:`}),` Attaching images can increase the overall size of the email, which might affect loading times and bandwidth usage for recipients.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Spam Filters:`}),` Emails with attachments are sometimes more likely to be flagged by spam filters, especially if the attachments are large.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Embedded Images","description":"Embedded images in emails can also be included as attachments rather than being directly encoded in the HTML body.","href":"/references/embedded-images"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Here’s how it works:","slug":"here’s-how-it-works","depth":1,"children":[]},{"title":"Attaching the Image","slug":"attaching-the-image","depth":2,"children":[]},{"title":"Referencing the Image in HTML","slug":"referencing-the-image-in-html","depth":2,"children":[]},{"title":"Disadvantages","slug":"disadvantages","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"campaigncleaner","siteName":"Documentation","title":"Embedded Images - Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T00:43:47.019Z","originalFileLocation":"references/embedded-images.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Embedded images in emails can also be included as attachments rather than being directly encoded in the HTML body.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Embedded Images - Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Embedded images in emails can also be included as attachments rather than being directly encoded in the HTML body.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.campaigncleaner.com/references/embedded-images\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://campaigncleaner.mintlify.site/_mintlify/api/og/v2?division=References\u0026amp;title=Embedded+Images\u0026amp;description=Embedded+images+in+emails+can+also+be+included+as+attachments+rather+than+being+directly+encoded+in+the+HTML+body.\u0026amp;theme=4ff62ca2fc37112e28ec43d1\u0026amp;signature=030af67721598ae0a57a17ef32157582c1d0c523396f6532ccd08e1da3038549\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Embedded Images - Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Embedded images in emails can also be included as attachments rather than being directly encoded in the HTML body.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://campaigncleaner.mintlify.site/_mintlify/api/og/v2?division=References\u0026amp;title=Embedded+Images\u0026amp;description=Embedded+images+in+emails+can+also+be+included+as+attachments+rather+than+being+directly+encoded+in+the+HTML+body.\u0026amp;theme=4ff62ca2fc37112e28ec43d1\u0026amp;signature=030af67721598ae0a57a17ef32157582c1d0c523396f6532ccd08e1da3038549\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/campaigncleaner/TBnoivanyk61_CsC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#054587\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.campaigncleaner.com/references/embedded-images\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/references/embedded-images.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.campaigncleaner.com/#organization\",\"name\":\"Documentation\",\"url\":\"https://docs.campaigncleaner.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/campaigncleaner/bjTHVI1r1QGT_45d/logo/cclogorefresh50.png?fit=max\u0026auto=format\u0026n=bjTHVI1r1QGT_45d\u0026q=85\u0026s=7766e7443b9bd032fc1cfa05c695aff3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.campaigncleaner.com#website\",\"name\":\"Documentation\",\"url\":\"https://docs.campaigncleaner.com\",\"publisher\":{\"@id\":\"https://docs.campaigncleaner.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.campaigncleaner.com/references/embedded-images#webpage\",\"url\":\"https://docs.campaigncleaner.com/references/embedded-images\",\"name\":\"Embedded Images\",\"description\":\"Embedded images in emails can also be included as attachments rather than being directly encoded in the HTML body.\",\"dateModified\":\"2026-01-07T00:43:47.019Z\",\"isPartOf\":{\"@id\":\"https://docs.campaigncleaner.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.campaigncleaner.com/references/embedded-images#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.campaigncleaner.com/references/embedded-images#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"References\",\"item\":\"https://docs.campaigncleaner.com/references/https-status-codes\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Embedded Images\",\"item\":\"https://docs.campaigncleaner.com/references/embedded-images\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.campaigncleaner.com/references/embedded-images#article\",\"headline\":\"Embedded Images\",\"name\":\"Embedded Images\",\"description\":\"Embedded images in emails can also be included as attachments rather than being directly encoded in the HTML body.\",\"url\":\"https://docs.campaigncleaner.com/references/embedded-images\",\"mainEntityOfPage\":{\"@id\":\"https://docs.campaigncleaner.com/references/embedded-images#webpage\"},\"dateModified\":\"2026-01-07T00:43:47.019Z\",\"publisher\":{\"@id\":\"https://docs.campaigncleaner.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.campaigncleaner.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/references/embedded-images.md","siteName":"Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Campaign Managmement","pages":[{"title":"Campaign Cleaner","href":"/campaign-cleaner/clean-campaign"},{"title":"Campaign Analysis","href":"/campaign-cleaner/campaign-analysis"},{"title":"Settings","href":"/campaign-cleaner/settings"},{"title":"Saved Campaigns","href":"/campaign-cleaner/saved-campaigns"},{"title":"Import Campaigns","href":"/campaign-cleaner/import-campaigns"}]},{"group":"Features \u0026 Settings","pages":[{"title":"AI Spam Keyword Detection","href":"/features-settings/spam-trigger-detection"},{"title":"Alt and Title Attribute Management","href":"/features-settings/alt-and-title-attribute-management"},{"title":"Background Image Detection","href":"/features-settings/background-image-detection"},{"title":"Blacklisted Link Checker","href":"/features-settings/blacklisted-links"},{"title":"Classes and ID Removal","href":"/features-settings/classes-and-id-removal"},{"title":"Control and Non-Printable Characters","href":"/features-settings/control-and-non-printable-characters"},{"title":"Convert CSS Attributes To Style","href":"/features-settings/convert-attributes-to-styles"},{"title":"Converting Relative URLS","href":"/features-settings/convert-relative-urls"},{"title":"CSS Inliner","href":"/features-settings/css-inliner"},{"title":"Diacritics Character Replacement","href":"/features-settings/diacritics-character-replacement"},{"title":"Email Client Inbox Previews","href":"/features-settings/email-inbox-previews"},{"title":"Font Color Adjustments","href":"/features-settings/font-color-adjustments"},{"title":"Font Size Enforcement","href":"/features-settings/font-size-enforcement"},{"title":"H to P Tag Conversion","href":"/features-settings/h-to-p-tag-conversion"},{"title":"Height Attribute Removal","href":"/features-settings/height-attribute-removal"},{"title":"HTML Comment Removal","href":"/features-settings/html-comment-removal"},{"title":"HTML Entities","href":"/features-settings/html-entities"},{"title":"HTML Fragments","href":"/features-settings/html-fragment"},{"title":"HTML Minifier","href":"/features-settings/html-minifier"},{"title":"HTML Sanitizer","href":"/features-settings/html-sanitizer"},{"title":"Inherited CSS Removal","href":"/features-settings/inherited-css-removal"},{"title":"Large Width Removal","href":"/features-settings/large-width-removal"},{"title":"Link Summary","href":"/features-settings/link-summary"},{"title":"Non-ASCII Character Replacement","href":"/features-settings/non-ascii-character-replacement"},{"title":"Oversized Images","href":"/features-settings/image-summary"},{"title":"Poor Delivery CDN Detection","href":"/features-settings/poor-delivery-cdn-detection"},{"title":"Preheader Management","href":"/features-settings/preheader-management"},{"title":"Punctuation, Caps, and H Tags","href":"/features-settings/punctuation-caps-h-tags"},{"title":"Resize and Host","href":"/features-settings/resize-and-host"},{"title":"Send Previews","href":"/features-settings/send-previews"},{"title":"Set Max-Width of Images","href":"/features-settings/set-max-width-of-images"},{"title":"SpamAssassin Score","href":"/features-settings/spamassassin-score"},{"title":"Surrounding HTML Div","href":"/features-settings/surrounding-html-div"},{"title":"Tables to Divs Conversion","href":"/features-settings/tables-to-divs-conversion"},{"title":"Text to Image Analysis","href":"/features-settings/text-to-image-analysis"},{"title":"Text to Link Analysis","href":"/features-settings/text-to-link-analysis"},{"title":"Unsecured Links","href":"/features-settings/unsecured-links"},{"title":"Unsupported Image Detection","href":"/features-settings/unsupported-image-detection"}]},{"group":"Members Tools","pages":[{"title":"Inbox Placement Test Center","href":"/other-tools/inbox-placement-tester"},{"title":"Inbox Placement Monitor","href":"/other-tools/inbox-placement-monitor"},{"title":"MX Vision","href":"/other-tools/mx-vision"}]},{"group":"Free Tools","pages":[{"title":"Email List Analyzer","url":"https://campaigncleaner.com/tools/isp-email-provider-breakdown/","href":"/free-tools/email-list-analyzer"},{"title":"EML to HTML Converter","url":"https://campaigncleaner.com/tools/emltohtml/","href":"/free-tools/email-html"},{"title":"FCrDNS Tester","url":"https://campaigncleaner.com/tools/reverse-dns-test/","href":"/free-tools/fcrdns-tester"},{"title":"eMail Tester","url":"https://campaigncleaner.com/tools/mail-tester/","href":"/free-tools/mail-tester"},{"title":"Email Preheader Generator","url":"https://campaigncleaner.com/tools/preheader-generator/","href":"/free-tools/preheader-generator"},{"title":"DKIM Lookup","url":"https://campaigncleaner.com/tools/dkim-lookup.html","href":"/free-tools/dkim-lookup"},{"title":"DKIM Generator","url":"https://campaigncleaner.com/tools/dkim-generator.html","href":"/free-tools/dkim-generator"},{"title":"DMARC Lookup","url":"https://campaigncleaner.com/tools/dmarc-lookup.html","href":"/free-tools/dmarc-lookup"},{"title":"DMARC Generator","url":"https://campaigncleaner.com/tools/dmarc-generator.html","href":"/free-tools/dmarc-generator"},{"title":"SPF Lookup","url":"https://campaigncleaner.com/tools/spf-lookup.html","href":"/free-tools/spf-lookup"},{"title":"SPF Generator","url":"https://campaigncleaner.com/tools/spf-generator.html","href":"/free-tools/spf-generator"},{"title":"MX Checker","url":"https://campaigncleaner.com/tools/mx-checker/","href":"/free-tools/mx-checker"}]},{"group":"Integrations","pages":[{"title":"All Integrations","href":"/integrations/integrations"}]},{"group":"Management","pages":[{"title":"API Information","href":"/management/api"},{"title":"API Management","href":"/management/api-management"},{"title":"CDN Management","href":"/management/cdn-management"}]},{"group":"Account Info","pages":[{"title":"Manage Users","href":"/account-info/manage-users"},{"title":"Securing Your Account","href":"/account-info/securing-your-account"}]},{"group":"References","pages":[{"title":"HTTP Response Status Codes","description":"HTTP response status codes indicate whether a specific HTTP request has been successfully completed.","href":"/references/https-status-codes"},{"title":"Embedded Images","href":"/references/embedded-images"},{"title":"Quirks","description":"Discover key things to be aware of when using Campaign Cleaner. Learn about quirks and tips to optimize your email campaigns for the best results.","href":"/references/campaign-cleaner-quirks"}]},{"group":"Legal and Compliance","pages":[{"title":"Legal Policies","href":"/legal-and-compliance/legal-policies"},{"title":"Privacy Policy","href":"/legal-and-compliance/privacy-policy"},{"title":"Terms of Use","href":"/legal-and-compliance/terms-of-use"},{"title":"GDPR Policy and Commitment","href":"/legal-and-compliance/gdpr"},{"title":"California Consumer Privacy Act (CCPA)","href":"/legal-and-compliance/ccpa"},{"title":"Acceptable Use Policy","href":"/legal-and-compliance/acceptable-use-policy"},{"title":"Subprocessors","href":"/legal-and-compliance/subprocessors"},{"title":"Data Processing Addendum","href":"/legal-and-compliance/data-processing-addendum"},{"title":"Cookies Policy","href":"/legal-and-compliance/cookie-policy"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Embedded Images - Documentation","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":[],"chunks":[]}