web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Embedded images do not...
Power Automate
Unanswered

Embedded images do not display in Outlook 2013

(0) ShareShare
ReportReport
Posted on by 510

Hi. I have a flow which sends an HTML formatted email. The flow works fine and images display in all new versions of Outlook and most email clients on mobile devices. I have an issue with images not displaying in Outlook 2013. There is no banner to download images, it just gives an error:

rwittels_0-1613462945748.png

I am using Get File Content to get the file and then composing with base64 expression.

Is there a workaround to get images to display in older versions of Outlook?

 

I have read this and it doesn't work at all, not even in new versions of Outlook:

https://www.sjlewis.com/2019/09/17/microsoft-flow-how-to-embed-an-image-in-an-email/

Categories:
I have the same question (0)
  • Verified answer
    Paulie78 Profile Picture
    8,422 Moderator on at

    I responded to someone yesterday about a very similar question. Embedding images in email is not really straightforward and every client supports different things. Ideally it is best to have the image you want to display on a publicly accessible location on the internet, but many people want to use images that are stored within SharePoint.

    Is the image that you are trying to display within SharePoint?

  • rwittels Profile Picture
    510 on at

    Yes. If I place them on a public location, how does my flow change? I obviously don't use Get File Content from SharePoint. Also, does the compose expression change?

    (base64(outputs('Get_my_image')?['body']))
  • Paulie78 Profile Picture
    8,422 Moderator on at

    The blog post you linked to should work, the only issue I see on that post is that the image type is hard coded as JPG. What format is the image that you are trying to embed?

  • rwittels Profile Picture
    510 on at

    My images are all PNG.

    I did do a test flow with his blog. I just changed jpeg to png in this string (it keeps changing my : to :):

     

    data:image/jpeg;base64

     

     The emails arrived blank.

  • Paulie78 Profile Picture
    8,422 Moderator on at

    That should work, but I you are using an incorrect expression above that:

     

    (base64(outputs('Get_my_image')?['body']))
    

     

    This is base64 encoding something that is already base64. Are you using the "Get file content using path" action? If so try an expression like this instead:

     

    outputs('Get_my_image')?['$content']

     

  • rwittels Profile Picture
    510 on at

    Sorry, my problem is not with this expression. It works and my email works fine. The only problem is that the images do not display in Outlook 2013. Should I try a public server first and how would my flow change to get the image and compose it?

  • rwittels Profile Picture
    510 on at

    Using a public source appears to be working. Thanks for the advice.

    Update: This works great! Using a web server is so much easier than SharePoint.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard