Skip to main content
Question

In emails with linked images, the images are attached as files.

  • Apr 15, 2024 10:53 AM UTC
  • 3 replies
  • 237 views
  • Translate All

Forum|alt.badge.img

 

Hello, I would like to create an email template SM204003 with logos that link to a page. I save the logo in Haufe and then insert it via Insert -> Image.

If I were to send the email now, the logo would appear in the email as it should be.

However, as soon as I add a link to the logo, so that clicking on it redirects the user, the HTML code changes in such a way that when sending an email, the image is also attached as a file.

 

 

HTML without linking

 

<td style="text-align: center; padding: 18pt 0cm 18pt 15pt;"><img src="https://Kundenname.haufe-x360.app/Frames/GetFile.ashx?cache=yes&file=Benachrichtigungsvorlage (61)\Kundenname_logo_positiv.png" objtype="attached" data-convert="view" embedded="true" title="Benachrichtigungsvorlage (61)\Kundenname_logo_positiv.png" width="200" height="70"></td>

 

HTML with linking

  <td width="125" valign="top" style="width: 93.75pt; border-top: none; border-bottom: none; border-left: none; border-right: 1pt solid rgb(251, 99, 3); border-image: initial;"><a href="https://www.Kundenname.de/" target="_blank"><img src="https://logo.Kundenname.de/wp-content/uploads/2023/04/Signatur_Logo_150x55px.png" title="Kundenname_Logo" data-clickable="yes"></a>

  <p class="MsoNormal"><a href="https://www.Kundenname.de/"><span style="text-decoration-line: none;"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"

   coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"

 

My question is, how can I insert images and assign them a clickable link (e.g., linking to the Facebook page) without the images being attached as separate files in an email?

3 replies

Forum|alt.badge.img
  • Author
  • Freshman I
  • Apr 15, 2024 2:41 PM UTC

Sorry, this is the right HTML with linking

<td width="125" valign="top" style="width: 93.75pt; border-image: url('') initial; border-right: 1pt solid rgb(251, 99, 3); border-left-style: none; border-left-color: inherit; border-left-width: medium; border-top-style: none; border-top-color: inherit; border-top-width: medium; border-bottom-style: none; border-bottom-color: inherit; border-bottom-width: medium;">

  <a href="https://www.Kundenname.de/">

  <img class="auto-style1" src="Signatur_Logo_150x55px.png"></a></td>

Translate

michaelho
Semi-Pro III
Forum|alt.badge.img+1
  • Semi-Pro III
  • Jul 23, 2024 10:10 PM UTC

We’re experiencing the same issue and would love to know how to fix this.

Translate

  • Freshman I
  • Dec 2, 2026 10:09 PM UTC

Just throwing our hat in here.  The native template builder is unable to properly embed images into emails.  Please let us know when that functionality has been figured out.

Translate