web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add GIF image into the...
Power Automate
Answered

Add GIF image into the email body

(0) ShareShare
ReportReport
Posted on by 789

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)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @Caleb62881177 

     

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

     

     

  • Caleb62881177 Profile Picture
    789 on at

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

     

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

  • Verified answer
    Manish Solanki Profile Picture
    15,167 Moderator 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
    789 on at

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

  • Manish Solanki Profile Picture
    15,167 Moderator 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
    789 on at

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

  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @Caleb62881177 

     

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

     

  • Caleb62881177 Profile Picture
    789 on at

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

  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @Caleb62881177 

     

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

     

  • Caleb62881177 Profile Picture
    789 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard