cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MasthanAbukani
Helper I
Helper I

Picture from SharePoint List NOT showing in PowerApps

I have a SharePoint list with a picture field. For each item in the list, I added a hyperlink in the picture field that points to a picture stored in the "pictures" library in SharePoint.

When I added this field to my Power Apps in Gallery and Form using an Image Control, the picture showed up originally for few days. But they don't show up anymore. Is there any reason for this behavior. Also the pictures never showed up in mobiles (both Android and iOS). Anything should be done for the pictures to show up again? Please advise.

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @MasthanAbukani ,

Do you store the URL Link to the file stored in your SP Library into the Picture field in your SP List?

Do you mean that the Picture displays well in your Gallery before, but not now?

 

Please make sure the image files are not removed from your SP Library, and the file name is not changed. Also please make sure the URL Link you typed within the Picture field is pointed to proper image file in your SP Library.

 

Also please consider remove the SP List connection from your app, re-add a new connection to your SP List from your canvas app, check if the issue is solved.

 

For images are never showed up in Mobile device, actually, it is an known issue with image files stored in SP Site -- Pictures that need authentication on SharePoint are not supported yet in Mobile device. This issue has not been fixed within canvas app.

Please check the following thread for more details:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Share-point-pictures-can-not-be-seen-on-IOS-...

 

As an alternative solution, you could consider add a Text type column (called "FileName") in your SP List to store the image file name (e.g. Picture.jpg, corresponding image file is hosted in your SP Library).

Then within your canvas app, add a connection to your SP Library as data source. Within the Gallery, set the Image property of the Image control to following:

LookUp(YourSPLibrary, 'File name with extension' = ThisItem.FileName).'Thumbnail ({Thumbnail})'.Medium

then you could display image in Gallery within your PC and Mobile device.

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

11 REPLIES 11
KrishnaV
Super User III
Super User III

Hi @MasthanAbukani ,

 

Try removing the SharePoint list and connect it back. I have seen this past in my App and removing data connection and adding it back has helped me.

 

I hope this resolved your issue if you see any challenge let me know I am always happy to help.

 

Regards,

Krishna
If this post helps, then please consider Accept it as the solution and give thumbs-up to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
KrishnaV
Business Applications MVP, Microsoft Certified Trainer
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.
WarrenBelz
Super User III
Super User III

Hi @MasthanAbukani ,

Hyperlinks to 'Link to Item' should work on a PC, but will never on mobile devices due to the way the app anonymously resolves URLs. However you can display photos from a SharePoint document library on Apple and Android devices easily and this will also work faster on PCs. In a Gallery  the Image control Image property is 

ThisItem.'{Thumbnail}'.Large

For a Standalone picture on the form displaying the picture selected in the gallery

YourGalleryName.Selected.'{Thumbnail}'.Large

 (you can also use Small and Medium

 

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.

 

 

v-xida-msft
Community Support
Community Support

Hi @MasthanAbukani ,

Do you store the URL Link to the file stored in your SP Library into the Picture field in your SP List?

Do you mean that the Picture displays well in your Gallery before, but not now?

 

Please make sure the image files are not removed from your SP Library, and the file name is not changed. Also please make sure the URL Link you typed within the Picture field is pointed to proper image file in your SP Library.

 

Also please consider remove the SP List connection from your app, re-add a new connection to your SP List from your canvas app, check if the issue is solved.

 

For images are never showed up in Mobile device, actually, it is an known issue with image files stored in SP Site -- Pictures that need authentication on SharePoint are not supported yet in Mobile device. This issue has not been fixed within canvas app.

Please check the following thread for more details:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Share-point-pictures-can-not-be-seen-on-IOS-...

 

As an alternative solution, you could consider add a Text type column (called "FileName") in your SP List to store the image file name (e.g. Picture.jpg, corresponding image file is hosted in your SP Library).

Then within your canvas app, add a connection to your SP Library as data source. Within the Gallery, set the Image property of the Image control to following:

LookUp(YourSPLibrary, 'File name with extension' = ThisItem.FileName).'Thumbnail ({Thumbnail})'.Medium

then you could display image in Gallery within your PC and Mobile device.

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks @v-xida-msft for the detailed expansion of my post.

@MasthanAbukani happy to elaborate further 

 

Hi @KrishnaV 

 

I tried removing the connection and adding it back, but the pictures are still not showing up. Any other suggestion based on your experience.

I am sure you got a chance to look at the email from @v-xida-msft  and @WarrenBelz that explains the reason for not loading the images.

 

Regards,

Krishna


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
KrishnaV
Business Applications MVP, Microsoft Certified Trainer
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

Hi Kris

 

I tried adding an image control with link directly to my Pictures Library in SharePoint, but the picture is still not showing up. See picture attached. Note: I am getting delegation warning, but I have just 25 pictures. So I believe that won't cause any issue in the future.

 

It was working fine few days back and I am surprised why it stopped displaying the pictures all of a sudden. What could be the problem here. 

 

@MasthanAbukani ,

'File name with extension' is not a Delegable filter.

We do thousands of these monthly on multiple apps. Just tag me if you need my assistance.

 

Hi @MasthanAbukani ,

Please make sure there is a image file called "2510.png" stored in your UniformPictures Library.

 

Currently, the 'File name with extension' field from SP Library is not delegated in Filter function. If the files stored in your  UniformPictures Library is not more than 2000, you could ignore this warning issue.

Note: Please set the "Data row limit for Non-delegable queries" option within Advanced settings of App settings of your app to maximum value -- 2000.

 

I have made a teat on my side, and don't have the issue that you mentioned, the screenshot as below:

3.JPG

Set the Image property of Image control to following:

LookUp(MyLibrary, 'File name with extension' = "Beauty123.jpg").'Thumbnail ({Thumbnail})'.Medium

 

On your side, you could consider add a Gallery in your app, connect it to your UniformPictures SP Library. Set the Image property of the image inside the UniformPictures SP Library to following:

ThisItem.'Thumbnail ({Thumbnail})'.Medium

then check if the image could be displayed well as below:

2.JPG

 

Also please consider remove the SP connection from your app, then re-create a new connection to your SP Library from your canvas app, try above formula again, check if the issue is fixed.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,324)