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 Apps / HTML Image from Sharep...
Power Apps
Answered

HTML Image from Sharepoint

(1) ShareShare
ReportReport
Posted on by 392

Hello everybody,

I would like to display an image URL from my Sharepoint page in an HTML text field, but I have a mistake somewhere or I'm doing something wrong.

How can I display the image?

"<h4><strong><img src='https://coffeeandtea.sharepoint.com/.....' width='40' height='40' alt='' style='margin-left: 420px; margin-right: 420px;' />&nbsp;Bescheinigung </strong></h4>"
Categories:
I have the same question (0)
  • henkenTech Profile Picture
    135 on at

    My guess is it is the same issue why the PDF viewer cannot show PDFs located on SP. A PowerApp cannot display online content that is not entirely authentication free. The Image has to be located at a completely authentication free storage, such as bit bucket or something.

     

     

  • Robertjde Profile Picture
    392 on at

    @henkenTech 
    and if the image is uploaded directly in the app?
    then how do I write the formula?

  • Verified answer
    henkenTech Profile Picture
    135 on at

    Unfortunately, there is no way to achieve this. Refer to this article with the same question:

    Solved: show image in HTML text control from media in Pow... - Power Platform Community (microsoft.com)

     

    It's a very long winded way of doing it, but you could build a PA Flow with HTTP inbound as a trigger, that retrieves the image content from SP and returns it via HTTP in the response. But this is quite over the top for just retrieving an image.

    So you maybe have another location you can store the image? Azure? FTP?

     

    Max

  • Community Power Platform Member Profile Picture
    on at

    I found a way.
    It's to use a part of List URL_Sample:https://********.sharepoint.com/sites/PowerApps/Images/Forms/AllItems.aspx.

    <img src='https://********.sharepoint.com/sites/PowerApps/Images/FileName.png'>

  • o2o2 Profile Picture
    40 on at

    I've tried ur way but it didn't work... I think it's because my image is not public shared, but I can't change it to public.
    I'll try a work around, but thanks for the suggestion

    Captura de ecrã 2023-04-18 172531.png

  • Suggested answer
    dp30102858 Profile Picture
    4 on at
    Solved: Embed image from Sharepoint or OneDrive in Email using Power Automate
     
    I created a flow as shown below. 
     
    1) First, I'll get File content from OneDrive/SharePoint Image File.
    2) Then convert File content using DataURi function in Compose.
    3) Initialize String Variable & Concat above value with <img src>.
    4) Finaly Send an Email & paste Variable value in Body.
    Final Result:

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 546 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 287 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 195 Super User 2025 Season 2

Last 30 days Overall leaderboard