cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

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

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

5 REPLIES 5
Highlighted
Super User II
Super User II

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.

Highlighted
Resolver I
Resolver I

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

Highlighted
Super User II
Super User II

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
Highlighted
Resolver I
Resolver I

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

Highlighted
Super User II
Super User II

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.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,211)