Hi @Anonymous ,
Really good point, I followed it too, but the flow's trigger was not Powerapps.
With Flow, i would suggest a better (and more recent) solution from Brian Edwards @brianedwards
SharePoint Images Powered Up In PowerApps
https://www.myconsult.co.za/residue/brians-blog/
The only issue with Flows is if your application will be widely used. For example, I have this huge international client (over 10 000 users). And they did not buy more Flow credit, so the entire organization has only 2000 execution allowed by each Flow.
With a List with Attachments, at first i tried ThisItem.AbsoluteUri, but as everyone had the same problem of displaying the images on studio but not on the app (mobile nor desktop), I had to come with a workaround :
The workaround is pretty simple :
For Image Column, just get the Thisitem.TheNameOfyourImageColumn
For Attachments column : Create a ImageGallery child of your ItemsGallery.
ImageGallery.items = First(First(Filter(YourItemList,ThisItem.ID = ID)).'{Attachments}')Add an Image Control to this Gallery.
MyItemImage.Image = ThisItem.Value
This Value gets something like
appres://datasources/YourItemList/table/e3aa2c1a-0137-4a7c-ab24-fd9a907db316/rows/7/reference/https:%2F%2Feurope-001.azure-apim.net%2Fapim%2Fsharepointonline%2Fshared-sharepointonl-f5c8d3ff-b9f6-48b9-badd-52ca6ba45e36%2Fdatasets%2Fhttps%25253A%25252F%25252FYourTenant.sharepoint.com%25252Fsites%25252FYourSite%2Ftables%2Fe3aa2c1a-0137-4a7c-ab24-fd9a907db316%2Fitems%2F7%2Fattachments%2F%25252fLists%25252fYourItemlist%25252fAttachments%25252f7%25252fYourAttachmentFileName.jpg%2F$value
I don't know why it works so, maybe someone from the PowerApps / Sharepoint team could explain ?