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>