cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CGZoe215
Frequent Visitor

Unable to embed images on within send an email (V2)

I  am trying to send birthday email where I want to add employee photo in email body. For this , I have created a list below columns.  I have noticed one thing. If I add public img URL as a source then it working but if i put list ->image field url then it is not working. EMail is going out but image is missing.

 

CGZoe215_0-1612853975121.png

 

CGZoe215_1-1612854101545.png

 

11 REPLIES 11
manuelstgomes
Super User
Super User

Hi @CGZoe215 

 

Why do you say it's not working? It means that you cannot see the email's image, correct? 

 

The issue is that the source needs to be formatted to accept the image's base64 representation and not an URL to the image.

 

Here's how you can fetch the image and append it in the email:

Embed images in e-mail's body using Microsoft Flow • Tomasz Poszytek, Business Applications MVP

 

Cheers
Manuel

-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Hi Manuel, I have tried this solution but still image is not visible on email.

 

CGZoe215_0-1612880896588.png

CGZoe215_1-1612880925545.png

 

 

manuelstgomes
Super User
Super User

Hi @CGZoe215 

 

Try with:

concat('data&colon;image/png;base64,', <INSERT HERE THE FILE CONTENTS>)

 

The objective is to have the full image encoded under the <img src="">.

 

Cheers
Manuel

-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Still there is no luck yet. 

manuelstgomes
Super User
Super User

HI @CGZoe215 

 

Ok we're almost there 😀

 

Can you show me the Flow or the error so that I have more information to help you?

 

Cheers
Manuel

-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Hi Manuel,

 

Is it right way to generate encode the url ?

 

concat('data&colon;image/jpeg;base64,', base64('<URL>'))

 

CGZoe215_1-1613350988811.png

 

 

manuelstgomes
Super User
Super User

Hi @CGZoe215 

 

Yes, looks good. Does it work?

 

Cheers
Manuel

-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

No, it does not work. It does show the image yet. 

CGZoe215_0-1613390406292.png

 

Paulie78
Super User
Super User

@CGZoe215 do you have Power Automate premium? If so I have a different approach you can try. But it will not work if you do not have premium. 

CGZoe215
Frequent Visitor

Yes , I have premium account

Paulie78
Super User
Super User

Check out this blog post and video, it shows two different ways to embed an image:


https://www.tachytelic.net/2021/02/power-automate-embed-image-email/

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,350)