There is one discussion in the community but is not useful/working.
Could someone help/suggest in adding a GIF image in email body via Power Automate along with screenshots/expression?
There is one discussion in the community but is not useful/working.
Could someone help/suggest in adding a GIF image in email body via Power Automate along with screenshots/expression?
This didnt work for me. Got a blank email. I had saved the gif image in sharepoint location. Used below code
<img src="data:image/gif;base64,@{base64(outputs('Get_file_content_using_path')?['body'])}" alt="Trulli" width="500" height="333">
Hi @Mohammed_Ishaq ,
This flow works for me.
Why won't it work for you.
Can you screenshot the email body? (or provide your complete flow)
Best Regards
Cheng Fen
The flow is running successfully but the picture is not displayed on the mail.
The same formula being used but then also picture not showing
Hi @Mohammed_Ishaq ,
Could you please tell me:
1. The picture cannot be displayed in the mail?
2. Or flow execution failed?
I copied the formula, there may be reasons for the characters. Please try this:
<img src="data:image/gif;base64,base64(outputs('Get_file_content_using_path')?['body'])" alt="Trulli" width="500" height="333">
If this post helps, then please consider Accept it as the solution to help the other members find it.
Best Regards
Cheng Fen
Hi @v-chengfen-msft, thanks for your suggestion.. I tried but isn't working for me.
Not sure why ... please check my screenshots and help me out...
Hi @Mohammed_Ishaq ,
Please use base64() to transcode [File content], and then use it in <img>
Here is a test for your reference:
Here is file in share point:
Here is flow:
Here is result:
If this post helps, then please consider Accept it as the solution to help the other members find it.
Best Regards
Cheng Fen
@v-chengfen-msft Thanks for your quick response.
Can I able to provide gif image stored in SharePoint or onedrive? How will I be able to fetch in this case without the URI??
WarrenBelz
146,679
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,015
Most Valuable Professional