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

Image from sharepoint referenced in HTML email coming out as x

I'm automating a notification  from Microsoft  Flow  mail with html coding  and image coming from sharepoint site. The image is coming out as x.

 

<img src=https://sharepointsiteofthepicture alt="alternatename" height="128" width="160">

 

2 REPLIES 2
StefanR
Advocate IV
Advocate IV

Hi @iwflow_designer ,

 

i have used a base64 representation of an image that is stored within a document library:


EmbedPicturesMail.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The email output is like that:

 

EmbedPicturesMail2.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Showing SharePoint hosted images in mails (same like showing them in mobile devices) is not possible because of security stuff, so you have to use the content not the reference.

 

The original idea comes from here:

https://www.bruce365.com/2018/10/11/display-sharepoint-images-on-mobile-devices-in-a-canvas-powerapp...

 

I have tested it with files in diffeerent sizes. It works well with low sized images.

 

I this post has helped you it would be cool, if you mark it as a solution.

 

Have a nice day

Stefan

emileaz
New Member

Thank you, mr @StefanR, you helped me a lot 😀

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,028)