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 / Outlook Email Image is...
Power Automate
Unanswered

Outlook Email Image is Cropped in Display

(1) ShareShare
ReportReport
Posted on by 10
I have a power automate flow as follows:
 
step 1 - exports a power bi page png format, 
step 2 - converts png to base64
step 3 - send outlook email with base64 image in body
 
 
The problem:
 
The minimized display of the email doesnt show the full image. 
I've already tried resizeing it thorgout html, but it didn't work.
If one opens the email full viewing mode, the image is ok, but que minimized email frame (those with the lateral, upper and lower menus) is not.
 
Minimized Email window.
 
 
This is the html code i'm using in email body:
 
<div style="width: auto; height: auto; margin: 0 auto;">

<p>etc, etc, etc.
<br>
etc, etc, etc</p>
<a href="url..." style="font-size: 20px; color: blue; text-decoration: underline;">Painel</a>

<a style="font-size: 12px; color: black; text-decoration: underline;">(abrir o email para ver a imagem)</a>

<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<table cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td>
<img style="max-width: 385px; max-heigth: 320px;" src="data:image/png;base64," alt="etc...">
</td>
</tr>
</tbody></table>

<p>Evolução dos últimos 7 dias:</p>

<table cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td>
<img style="max-width: 320px; max-heigth: 385px;" src="data:image/png;base64," alt="Histórico de Reparos">
</td>
</tr>
</tbody></table>

</div>

</div>
 
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    Is the image this size as noted in your HTML: style="max-width: 320px; max-heigth: 385px;? If not, have you tried adjusting these values?
  • Adriano Ajr Profile Picture
    10 on at
    Hi @David_MA , 
     
    Yes i've tried adjusting it. 
     
    Setting width and height to auto also didn't work.
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    In that case, I would try removing the size value or take a look at this YouTube video on embedding an image in an e-mail: https://youtu.be/liM7IsLSztU?si=X59qpquqxvr6eChz
  • Adriano Ajr Profile Picture
    10 on at
    Thx @David_MA,
     
    I've already tried removing width e height size values, but it didn't work.
     
    Also watched the video you send and it doesn't add as i see. The only difference is that he uses the <img> inside a variable as i see. 

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