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 / Add GIF image into the...
Power Automate
Unanswered

Add GIF image into the email body

(0) ShareShare
ReportReport
Posted on by 779

Hi Everyone,

 

Is there a way to add a gif inside an email body?

 

I have tried building this flow to embed the gif in my email body, but it doesn't show anything.

 

bdayyy.jpg

 

 

Can anyone help me?

 

@ManishSolanki  @Matthy79  @creativeopinion  @Pstork1 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Caleb62881177 

     

    Could you pls share the expression used in img html tag?

     

     

  • Caleb62881177 Profile Picture
    779 on at

    @ManishSolanki  - Sorry, I forgot to add that expression.

     

    base64(outputs('Get_file_content_using_path')?['body'])

  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Caleb62881177 

     

    Here is the sample flow:

     

    ManishSolanki_0-1705587408926.png

    Html code used inside compose action:

    <img src="data:@{body('Get_file_content_using_path')?['$content-type']};base64,@{body('Get_file_content_using_path')?['$content']}" alt="cocoa" />

    You could just copy & past the above statement in the compose action & pass the output of compose action in the email body. Pls update the alt text as per your need in the above html code.

     

     

    Output:

    ManishSolanki_1-1705587527718.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • Caleb62881177 Profile Picture
    779 on at

    @ManishSolanki  - I copied your html code exactly, but I still get an empty email.

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Caleb62881177 

     

    Pls try change to html by clicking on "Code view" button & retest the flow:

    ManishSolanki_0-1705589065002.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • Caleb62881177 Profile Picture
    779 on at

    @ManishSolanki - Unfortunately, It still doesn't show the gif in the email.

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Caleb62881177 

     

    Is it possible for you to share the gif image? I will try at my end.

     

  • Caleb62881177 Profile Picture
    779 on at

    @ManishSolanki - Yes, of course. Here's a url to the gif https://giphy.com/gifs/3Z213pTJI3LAgwSGuG

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Caleb62881177 

     

    It looks like the size issue of gif file. Did you tried after compressing the image?

     

  • Caleb62881177 Profile Picture
    779 on at

    @ManishSolanki - I haven't compressed the gif.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard