0

I'm having trouble with HTML paste emails in the content builder.

I have an email template in the form of an index.html file.

It came along with a bunch of images in an images folder.

When I open the index.html in Chrome it opens propely rendering all the images.

I copied the HTML code from index.html and pasted into a Create > Email Template > Paste HTML and then uploaded the images to images folder at: Content Builder / my images / Viacom / Template01_Viacom-EditorialGreenApri-8-2019/ 77E / images

Marketing Cloud assigned a URL to every image uploaded as usual.

I tried replacing image file name in the index.html template under the src="image_name" attribute to the corresponding URL assigned by Content Builder, but the images still don't render after I save the HTML paste template.

What am I doing wrong?

  • Please share the code you use for embedding the images including the real image URL, so it is possible to help you out. – Markus Slabina Oct 4 '19 at 7:55
  • I can't post the entire code as it's too long so posting partial code.. – Girish Oct 4 '19 at 16:37
  • Just one of the lines containing the a-tag is sufficient. Your current post doesn‘t include a single line of code, which makes resolving your issue pure guesswork. – Markus Slabina Oct 4 '19 at 16:40
  • <td class="fluid-img-1" style="font-size:0pt; line-height:0pt; text-align:center;"> <img src="image.s10.sfmc-content.com/lib/fe3b15707564057e711077/m/1/…" width="600" editable="true" border="0" alt="" /> </td> – Girish Oct 4 '19 at 16:44
  • Sorry for some reason the code did not post properly... Here u go...<td class="fluid-img-1" style="font-size:0pt; line-height:0pt; text-align:center;"> <img src="image.s10.sfmc-content.com/lib/fe3b15707564057e711077/m/1/…" width="600" editable="true" border="0" alt="" /> </td> It has the https:// part... – Girish Oct 4 '19 at 17:07
1

You need to replace the src="image_name" value with the image URL generated by Salesforce Marketing Cloud.
After uploading an image to Content Builder, you can find the image URL by clicking on the image to view more details. See below:
SFMC Image Url
You can read more here: Insert Content Builder Image in HTML Paste Email

| improve this answer | |
  • Thanks Cameron! I have done that for all the src attributes within the html code. Still it doesn't render. In fact I tried paste html code in classic content and everything works perfectly. Any other ideas / thoughts? – Girish Oct 4 '19 at 16:36
  • Any other thoughts, idea's ?? – Girish Oct 5 '19 at 20:23
  • Can you update your question with a copy of the HTML code (just the 1 line with the image) you are using; including the correct link to the image? – Cameron Robert Oct 6 '19 at 4:03
  • Sorry, just saw your comment now after several days. I ended up logging a case with support and they said that the image sizes are too large. Here's what they had to say "Content Builder renders those images differently than classic email editor. In viewing the images I see they are really large. This makes it difficult to have the images appear with dimensions set with percentages. I would recommend either resizing the image to the desired size and import the new images into content builder or try placing the images within content blocks." @Cameron – Girish Oct 11 '19 at 17:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.