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 / Image Not Showing in PDF
Power Automate
Answered

Image Not Showing in PDF

(0) ShareShare
ReportReport
Posted on by 1,057

Hello Everyone!

I have created a Flow, which converts HTML file to PDF File and then display it on OneDrive on a New Screen Tab.

but I had used the Get File Content for the Logo and I had upload that file on my Personal OneDrive Folder, the Image was showing at my end and flow was running good, but when the other users try to run the app and generate the report for the PDF the flow prompts an error failed to retrieve the file, as the file is located on my drive.

 

How to solve this Please Help!!! 

Categories:
I have the same question (0)
  • Verified answer
    Jay-Encodian Profile Picture
    2,920 on at

    Hey @MH3 

    The easiest way to resolve the issue is to embed the image as a dataUri in your HTML... there are a number of websites where you can upload your image and it will return the dataUri: https://ezgif.com/image-to-datauri

    Once you have your dataUri simply update the img tag in your HTML:

    From: <img src="https://www.encodian.com/assets/img/Encodian_Logo.png"/>

    To: <img src="ata:image/png;base64,iVBORw0KGgoAAA..."/>

    Obviously the dataUri string will be quite a bit bigger 🙂

    If you want to dynamically generate the dataUri in your Flow take a look at the second part of this article: https://blog.encodian.com/2020/02/create-qr-codes-with-power-automate-and-encodian/

    Cheers J

     

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard