Re: HTML image displaying in email but not PDF
@DamoBird365
OK I need more help with this as I can't work out why only my first image is displaying.
So I have one flow which runs on create of a SP item, gets the attachment content, converts it to dataURI, concats it into an <img src /> expression and saves that variable to a column for that SP list item. The 2nd flow is a PowerApps button one that creates a HTML table and the PDF file to be emailed to the user.
Converting attachment content to dataUri and creating a concat variable
The dataUri expression for my datauri variable is: dataUri(outputs('Get_attachment_content')?['body'])
The html variable is set to: concat('<img src=','"',variables('datauri'),'"/>').
If I check the field where the html expression is saved, it all looks fine. For multiple images it's saved each expression as one long string. This is how it looks when I inspect the html of the email I received.
On inspection of the html in the email
This is what I got:
as displayed in email
As far as I can see, nothing seems to be wrong with the HTML itself. Could the issue be with the conversion to the dataUri image that follows the first one?