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 / Image not displaying i...
Power Automate
Unanswered

Image not displaying in Email

(1) ShareShare
ReportReport
Posted on by 6

What am I doing wrong. An icon shows up in the email but not the actual image?

ChristianHELP_0-1720015252262.png

 

Categories:
I have the same question (0)
  • Bhawna Bansal Profile Picture
    126 on at

    Hi 

    If you already have a link for the image .

    Next step will be Compose variable and add this as HTML 

     

    <html>
    <body>
    <img src="Here add the link i.e. output of the previous step" width="300" height="200">
    </body>
    </html>

     

    Now use output of this compose action in email.

     

    Let me know if you need more help. and if it works for you, kindly mark it as verified answer. 😊

     

  • ChristianHELP Profile Picture
    6 on at

    I was embarrassed to reply that I did not understand what you were telling me to do😮

  • Bhawna Bansal Profile Picture
    126 on at

    Sure, I'll break down the steps for you to achieve this using Microsoft Power Automate:

    1. Initialize Your Flow: Start by creating a new flow in Power Automate.

    2. Trigger: Select an appropriate trigger based on when you want this flow to run. For example, you might choose "Manual" if you want to manually trigger the flow or select a trigger like "When an email arrives" if this is part of a larger automated process.

    3. Get Link for the Image: This step assumes you already have the link to the image you want to include in the email. If not, you'll need a step to retrieve or generate this link dynamically. 

    4. Compose Action: Add a "Compose" action to your flow. This action will be used to construct the HTML content that includes the image.

      • Inside the Compose action, you'll create the HTML structure. Here's the HTML you should compose:

        <html>
        <body>
        <img src="Here add the link i.e. output of the previous step" width="300" height="200">
        </body>
        </html>
        5. Use the output of this in the body of the email
         
  • ChristianHELP Profile Picture
    6 on at

    I appreciate you trying to help me. It is getting the image but look:

     

    ChristianHELP_1-1720539240955.png

    Under book your virtual appointment it is just showing the image icon

     

  • sbitaxi Profile Picture
    29 on at

    The image must be sized correctly (otherwise it'll appear too large), be stored in a public location, a website is a better location than SharePoint for that, and be a format that is email friendly such as PNG or JPEG. Vector based do not work, generally.

     

    The most consistent way I've been able to use is to

     

    1. Get the logo from SharePoint using 
      sbitaxi_0-1720550643430.png
    2. Edit the HTML body of the "Send an email (VS)" action and include an image tag. The src attribute contains information about the image type and the base64 encoded version of the email (from the file). Make sure to choose the correct MIMEType (the one I was using was a PNG image/png - check here for a match to yours MIME types (IANA media types) - HTTP | MDN (mozilla.org)).  

      <img src='data&colon;image/png;base64,@{body('Get_file_content_using_path')?['$content']}' alt='Our logo'>

      sbitaxi_2-1720550824294.png

       

      The HTML is finicky in the Outlook actions, so I normally use a separate Compose action for the entire email body, including embedded images.

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard