π§ Question about Inline Image Support
Hi Novu team! π
Does Novu support inline images in emails?
By inline images, I mean images that are embedded directly in the email body (like <img src="cid:image1">) rather than as downloadable attachments.
Questions:
Does Novu have native support for inline images?
If not natively, can this be achieved via provider overrides (specifically for AWS SES)?
Any documentation or examples for implementing inline images?
Currently our images show up as downloadable attachments, but we need them embedded in the email content for better user experience.
Thanks! π
7 Replies
Hi! The attachments array: https://docs.novu.co/platform/integrations/email#sending-email-attachments
Also provides the: cid and disposition params, for cid, use the relevant id, and disposition: inline Let me know if that helps π
Also provides the: cid and disposition params, for cid, use the relevant id, and disposition: inline Let me know if that helps π
Hi Dima, I tried that:
"payload": {
"subject": "new subject",
"emailBody": "<p>test</p><img src=\"cid:imageone\" alt=\"print.png\"></p><p></p>",
"attachments": [
{
"file": "<base64_file>",
"name": "print.png",
"mime": "image/png",
"cid": "imageone",
"disposition": "inline"
}
]
},
but the image is still broken

Oh btw, I'm using the API not the SDK
@rbbr31
Could you please share the transactionId from the activity feed?
Sure it's txn_68dfbfbc093rmm7f0cpe
@rbbr31
Thanks, I see you are using custom smtp provider integrations. Sharing the issue with team
Thanks!