Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Unanswered

Embed Image URL in Send an email (v2) not working

(0) ShareShare
ReportReport
Posted on by

Good day community,

I'm trying to embed an image URL into an email message via the "Send an email (v2)" option in Power Automate (flow)

The image url seems to load correctly, however no image is displayed in the mail body

below is the code i used (variable to store the image)

 

<p>

<br>
 <img src=" @{variables('IMAGEURL')} " alt="VISITOR IMAGE" width="300" height="300" >
<br><br>

Thanks,<br>
<strong> Reception </strong> <br>
</p>

 

 

Can someone please help 😃

NOTE: The image URL is huge, captured via the PowerApps camera function.

I wasn't able to add the html link due to it's length but if needed I could send it as a notepad attachment but it looks like this:

 

imagesample.png

  • Gristy Profile Picture
    2,429 on at
    Re: Embed Image URL in Send an email (v2) not working

    Hi,

     

    That is what i am wonderigng if you can try it.

     

    1) add create item (SharePoint)

    2) give it a name maybe use a expression for uniqueness (unless you have other variables) soemthing like concat(utcNow(),'.jpg')

    3) pass your variable into the file content box

    4) you now know the URL and can insert it into the email.

  • Community Power Platform Member Profile Picture
    on at
    Re: Embed Image URL in Send an email (v2) not working

    Hi @Gristy ,

    Thanks for responding back. Unfortunately this will not work for me since I am taking a picture of a visitor in Power Apps, and saving it as a URL in SharePoint. Is there no way at all to display an image URL in that format in an outlook message?

    I would assume the alternative is to have a flow save my image in a SharePoint document library, and then lookup that image when sending the email? I just worry that it would be a lot of work and beyond my experience which would result in days spent to accomplish this simple functionality. Any guidance would be truly appreciated

  • Gristy Profile Picture
    2,429 on at
    Re: Embed Image URL in Send an email (v2) not working
    Normally yes but a bar appears to show the image which it has not in your case

    If this email is just for internal recipients maybe save it the file to a public document library and insert the url instead of the binary
  • Community Power Platform Member Profile Picture
    on at
    Re: Embed Image URL in Send an email (v2) not working

    Hi @Gristy ,

    Thanks for responding

    Basically it appears as blank, as if the html was never called

    I tried the code on an online editor and the image appeared successfully

    I'm interested in your latter statement, "Keep in mind most clients hide embedded images until allowed."

    Is this true for outlook by default, what can i do to test it?

    Thanks again

    Luka

     

    email sample.png

  • Gristy Profile Picture
    2,429 on at
    Re: Embed Image URL in Send an email (v2) not working

    how does the HTML of the email end up int he client?

     

    Keep in mind most clients hide embedded images until allowed.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
stampcoin Profile Picture

stampcoin 23

#2
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#3
Gprior Profile Picture

Gprior 19

Overall leaderboard