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 Apps / image from sharepoint ...
Power Apps
Unanswered

image from sharepoint library in image component

(0) ShareShare
ReportReport
Posted on by 353

I have a powerapp that displays links to news articles posted on sharepoint. The data comes from the Graph API. Included in an image URL stored in a sharepoint site assets library. I have tried using the image component and setting the image string to the image URL enclosed in speechmarks. But it does not work. The URL does open an image in a browser. 

 

If I use the url for an image not on sharepoint it works e.g. 

 

"https://i.ytimg.com/vi/AM2Eody7kF0/mqdefault.jpg"

 

but my sharepoint url doesnt

 

"https://company.sharepoint.com/_layouts/15/getpreview.ashx?path=%2Ffunctions%2Fcomms%2FSiteAssets%2FSitePages%2FImportant-information-for-the-festive-season%2F75924-b180bc18864408066a65bb1ce274e9be.jpg"

 

 


What am I doing wrong?

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @nick9one1 

     

    The URL you provided seems to be encoded (notice %2F instead of /). While browsers can handle this automatically, PowerApps might require a decoded URL or different handling.

     

    did u try this?

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • nick9one1 Profile Picture
    353 on at

    Thanks for the suggestion. I have tried a de-coded url and it also doesnt work. 

    "https://company.sharepoint.com/_layouts/15/getpreview.ashx?path=/functions/comms/SiteAssets/SitePages/Important-information-for-the-festive-season/75924-b180bc18864408066a65bb1ce274e9be.jpg"

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard