Hi everyone, I'm facing an urgent issue where images stored in SharePoint are not displaying in my Power Apps app when accessed via Android or iPad devices. The images are displaying correctly in the web browser version of the app.
Here's what I've tried so far:
- **Verified SharePoint permissions:** I have full control permissions to the image library, and I've confirmed that access is not restricted for mobile devices.
- **Checked image URLs:** I am using the correct full URL of the image files stored in SharePoint.
the sections where images are placed become invisible.
**Additional Information:**
- **Power Automate and SharePoint list:** I am using Power Automate to save images in SharePoint, and the URLs are specified in a SharePoint list text field. This approach is to handle the 2000 item limit issue in SharePoint lists. If there is a better way to organize over 2000 items, including images, I would appreciate any advice.
Any help or suggestions would be greatly appreciated!
Assuming that the RecordMedakaID in your Parent list matches the IDRef in pic - the Items of
Filter(
pic,
IDRef = Gallery1.Selected.RecordMedakaID
)
will contain all the matching images. Then an Image control in the gallery with the Image property of
ThisItem.'{Thumbnail}'.Large
will display the image.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
Excellent.
It's done! Thank you so much! It's a big step.
Just...
Gallry1 is the parent (Post)
Gallry2 is the child (Photo) and I want to display the list of posts with the corresponding image in the Post list.
Gallry2 has "LookUp(pic,IDRef=Gallery1.Selected.RecordMedakaID)
" in the Item property and "ThisItem.Thumbnail.Medium" in the Image property.
The image of the selected item will be displayed.
How do you connect the parent item to the child items?
Hi @SHIN8998 ,
The question I have is how do you related the images in the Library to the "parent" list record. I normally store the ID of the parent in a number field in the Library I call IDRef - that way it is a simple filter in the gallery to display all related images.
Thank you very much. Sorry, I was mistaken.
I have read your blog. I will study it.
I understand that there is no other way but to use thumbnails.
I think that with thumbnails, multiple images in the library are displayed at the same time,
How would you design an application in the following cases?
Data Structure
SharePoint list name: MedakaPosts
Columns and data types PostID (numeric), PostDate (date), Comment (text), ImageFileName (text)
SharePoint image library name: MedakaPhotos
Functions to be implemented
When a post is selected in Gallery1 (Posts), the related images are displayed in Gallery2 (Photos).
How do you associate Photos with Posts? How do you achieve the display of mobile images in the list view?
Hi @SHIN312745358 ,
They are two quite separate issues. Any Delegable filter will select the file/s you need to display.
Thank you for your prompt response and valuable insights.
I understand that URL-based images won't work on mobile devices unless they can be resolved anonymously. I will try your suggestion of linking the library to the app and using the '{Thumbnail}' syntax.
I have over 2000 items, including images, in my SharePoint. Could you suggest a better way to organize these items to avoid the 2000 item limit issue while still being able to display them in my Power Apps app, especially on mobile devices?
Thank you again for your help. I will mark your response as the solution once I successfully implement your suggestions.
Hi @SHIN312745358 ,
The issue is that URL-based images will not work on mobile devices unless they can be resolved anonymously (needing no security log in). It does not matter that you may be logged in to the image site (such as SharePoint) elsewhere on the device - the PA app cannot "see it". The only way you can view (and it needs to be image type files) is to link the Library to the app and use the '{Thumbnail}' syntax as per this blog of mine.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional