> For the complete documentation index, see [llms.txt](https://eventx-hq.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eventx-hq.gitbook.io/knowledge-base/outreach-channel/email-use-cases/use-case-how-to-edit-images-within-a-html-email-template.md).

# Use Case: How to edit images within a HTML email template?

In some cases, organizers would like to use their own email templates that have already been built. This can be done by embedding the HTML code into our email editor. However, if there are images within the HTML code, it might not be shown. Please follow the steps below to ensure that the images can be shown accordingly.

## Example Of Image Error

![](/files/uno9dw08I7QpCCipnPyw)

## Steps To Ensure Image Can Be Seen

1. Drag and drop the **Image** content block and input the image that cannot be seen on the email.\
   ![](/files/zns8GJC8X1stC0oIyd42)
2. Copy the image URL after importing the picture into the email template.\
   ![](/files/YL5NQuNapZ8Vv5egeNq0)
3. Open your HTML file using an editor. For eg; Notepad. Search for "**\<img**" and replace the image source. To do so, paste the copied link into the section as shown below.\
   **Note:** Only replace the section as shown in yellow (src="images/...")
4. Before replacing the image source\
   ![](/files/q2FpuQO2l1Y07YrWfc6O)
5. After replacing the image source\
   ![](/files/zpBeHKyqD1wZvifZAM8I)
6. Repeat the process to replace images that cannot be seen.
7. Once done, copy the entire HTML code, drag & drop the HTML content block into the email template and paste the HTML code into it.\
   ![](/files/q2lDkkrW3w0gKaIV0bB9)\
   ![](/files/oqfmbRG6yvG5dNZw8ULx)\
   **Note:** If you would like to remove the default content within the email template, simply click on the block and delete it.\
   ![](/files/qpU8tHB0ofrDVj9dtSoB)
8. Once the all the image sources have been replaced, the images will be visible.\
   ![](/files/TlSkoa2Zd2m57U2K8hv6)

## Frequently Asked Questions

### Q: Why might images not show up in my imported HTML email template?

**A:** The image source links in the HTML may be broken or pointing to local paths. You need to upload the images via EventX's Image content block, copy the new URLs, and replace the image sources in your HTML code.

### Q: How do I replace multiple broken images efficiently?

**A:** Open your HTML file in an editor, search for "\<img", and replace the src attribute with the new URLs copied from EventX's Image content block for each broken image.
