Authentication Requirements: Even though your files are stored in SharePoint or OneDrive and the sharing settings are set to "Anyone with the link," Power Apps doesn’t automatically authenticate the image URLs. This means that even though the links work for users in a browser, they might not work in Power Apps, especially when authentication is required for those URLs.
File URL Format: The URLs generated by SharePoint or OneDrive may not always point directly to the file itself but rather to a page that loads the file (e.g., the web view for the document), and this won't work in Power Apps' image control, which expects a direct link to the file itself.
Power Apps integrates with SharePoint through a connector that allows it to display files directly from SharePoint document libraries.
'Image control'.Image = ThisItem.'{Link to Image Column}'
Another method is to convert the images to Base64 strings, store them in SharePoint, OneDrive, or even directly in a database (like SQL Server or CDS), and bind them to the Power Apps image control.
Example formula for Base64 in Power Apps:
"data:image/jpeg;base64," & ThisItem.ImageColumn
MS.Ragavendar
10
LC-26081402-0
10
EE-04041031-0
4