“I need to display image from SharePoint library in the Power Apps mobile application, is there a better way than adding a flow?”
If you build not only flows but Power Apps too, you might notice some inconsistency between the app in browser and in mobile phone. One of them are multimedia stored in SharePoint. While the browser Power App shows all images, all videos and sound files, the mobile application doesn’t. If it’s stored in SharePoint you’re out of luck, all you can get from an image is the image thumbnail. That’s not really sufficient if somebody needs to read data, e.g. from receipts…
How do you display SharePoint images in the mobile app in a reasonable resolution?
Start from the image thumbnail
As already mentioned, you can get the image thumbnail. The best resolution that’s easily available is the large thumbnail, e.g.
Such image will be visible in both, browser and mobile app, but it’s not very sharp. The large thumbnail resolution is 800×800 px as you can see in the thumbnail url.
Change the resolution
Yet since the resolution is defined in the thumbnail url, you can change it. Use the Power Apps Substitute(…) function to replace the width and height of the thumbnail, e.g. to 3200×3200 px.
ID = 2189
The difference in image sharpness is then clearly visible (much more in the app than on the screenshots below).
That’s it, one substitute instead of various flows that’ll show you the image.
While Power Automate is an amazing tool, it’s not always necessary to build a flow. As you can see in this article, if you want to display image from SharePoint in your Power Apps in a reasonable resolution, you don’t need a flow. All you need is a workaround directly in the Power Apps that’ll save you a ton of flow runs. Instead of running a flow for every image you want to show, you can take their thumbnail and increase the resolution.