Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Create pdf with images inside

(0) ShareShare
ReportReport
Posted on by 28

Hello
I have a flow that creates me a pdf from an html file in which I would like to view the logo of my organization but when switching between html and pdf the logo image is not displayed.
Here I post a screenshot of the items I use.
Thanks for your cooperation

 

Schermata del 2020-12-30 09-28-16.png

  • AndreaC Profile Picture
    28 on at
    Re: Create pdf with images inside

    Thanks a lot @v-bofeng-msft 
    It works .
    I recommend this site for converting images from png, jpg etc. to Base64
    https://www.base64-image.de/

    thanks and happy new year 😄

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Create pdf with images inside

    Hi @AndreaC :

    Could you tell me:

    • Do you want the images to be displayed when you convert HTML to PDF?

    I have tested many times and found that this is related to the way HTML is written.

    If you refer to the picture by URL, then when you use your flow to convert it into pdf, the picture cannot be displayed.For example:

    1.JPG

    If you quote a picture in base 64, then when you use your flow to convert it to pdf, the picture can be displayed.For example:

    2.JPG

    I think this link will help you a lot:
    How to display Base64 images in HTML? 

    Best Regards,

    Bof

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow