cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Create pdf with images inside

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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

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

View solution in original post

2 REPLIES 2
Community Support
Community Support

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

View solution in original post

Regular Visitor

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 😄

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (13,315)