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?