How to display images from S3 bucket in AWS Pinpoint email templates?

0

Hello,

So I am using AWS Pinpoint both programatically and via the AWS Console. To make email templates I use the AWS Console.

I have several images in an S3 bucket and I hide those images behind a CloudFront distribution so that they are accessible only via that distribution while the bucket is private.

I have an image in the email template and in the src of the image I put the URL of the image behind the distribution. Outside the template, I am able to see the image on that URL.

Also, before sending the email template, the images are properly displayed on the template but once I send it to an email and I open the email, I see no images, only te alternative text I have put. Why is that?

How can I fix it?

EDIT: I found out the problem exists only in Outlook. Do you have any idea why that is?

1 Answer
0

Outlook has a few things in place to block images, do any other images that are not from your distribution load, or do all images have the same issue regardless of the source?

Depending on what Outlook version you're using, you might want to check the Trust Center in your Outlook settings, there's also some settings related to loading remote images in the settings, but I don't recall the exact location, should be fairly obvious to find once you're in the settings.

profile picture
kyager
answered 2 years ago
  • Hey @kyager, Thanks for your reply.

    I am using only images from my distriribution load and still have this issue.

    Even if I change it for my own Outlook email, I cannot change the settings of the users I sent the email to so I am not sure what to do.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions