# Embedded images
There is a constant need to insert a picture into content, for example, showing a logo, sharing a screenshot, and so on. In these cases, the Content ID (CID) applies, which is supported by static and dynamic attachments.
Please note that only images can be embedded into the content.
To add an embedded image, simply insert the img tag and provide the CID for the src attribute.
<img src="cid:YOUR_ATTACHMENT_CID" alt="attachment">
# Static Attachments Embedded
Every time a static attachment is uploaded to the cloud, it will get the CID. For static attachments, Content-ID is the full file name, except that the CID cannot contain spaces and is character sensitive.
# Example
In order to add a company logo to outgoing emails, it is best to use Static Attachments. As an example, we will create a file with our logo and name it logo.png. Once the image is uploaded and we have a new logo.png static attachment, go to the Content tab and open the code source (<> button) for editing the HTML code. Insert that company logo where it's supposed to be. In this scenario, the actual code of the embedded image should look like this:
<img src="cid:logo.png" alt="Logo">
The company logo has been added. Save the template and test the result.
# Dynamic Attachments Embedded
For dynamic attachments, the Content ID is Parameter Name. Note that the image will always be in the template, even if the content isn't presented in a dynamic variable.
# Example
There is not much difference from Static Attachments. Say, we want to email the result of some drawings on canvas. Create a dynamic attachment with the Parameter Name: canvas. The HTML code for this example should look as below:
<img src="cid:canvas" alt="My Impression">
Then save the template and test it.