I marked a solution below as to what is needed for the images to work for this flow. But ultimately my issue was because of the image file size (not the format).
---------------------------------------------
I'm working a flow and everything works as expected for a news post's Banner Image URL using a jpg image file. But when a PNG image file is being used instead, the image does not display in the email desktop application nor the web application for Outlook. The JPG file does show, though, in both Outlook's desktop and web. And Outlook is the primary email application being used for our purposes.
I'm using two "Get File Content Using Path" steps. The first one is a static image, and that works just fine. The second one needs to be dynamic per the news post, and that is the one that works with jpgs but not pngs. The input url for the file path in this second one works when I paste it into the browser search bar. I've attached a partial screenshot of what the output for this second "Get File Content Using Path" looks like. It is super long!
Here are the expressions for the datauri items in the email body:
1st instance: @{dataUri(outputs('Get_file_content_using_path')?['body'])}
2nd instance: @{dataUri(outputs('Get_file_content_using_path')?['body'])}
I've tried every solution I could find, but haven't been able to figure this out. Maybe it is something so simple that I am missing?! I'm fairly new at this, so learning as I go along. I've attached screenshots of the flow. Hoping there is an answer out there! Thank you!




