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 / How to embed image in ...
Power Automate
Unanswered

How to embed image in html to generate pdf in power automate

(0) ShareShare
ReportReport
Posted on by 127

I am generating pdf using html on power automate,  all are fine but i have an issue with images.

1) how can i add a logo on the html so that it will appear in the pdf file

2) any guides or samples to include  or call column from sharepoint list which is an image data type.

 

Categories:
I have the same question (0)
  • RobElliott Profile Picture
    10,426 Super User 2026 Season 1 on at

    @Sebey add a SharePoint get file content using path action and select the site and file path to the logo. Then in your create file action click on code view and for the logo line add 
    <img src="{expression}"></img> where the expression is dataUri(body('Get_file_content_using_path'))

     

    addLogo.png

     

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

  • Sebey Profile Picture
    127 on at

    I have a initialized variable that  shows  data from sharepoint lists. i want to show the logo at the top of the page so  i put the code on the top of the html code but still getting error.

    getfile2.pnggetfile.png

    getfile.png

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