cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BKGOUD
Helper III
Helper III

Sharepoint images are not displaying

Hi All,

We have loaded images into the sharepoint library and fetching the into PowerApps screen but which are not displaying for the few user. We have another list which is having all the images URL.

 

Can someone help me on this what is the issue. Any permission issue?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

@BKGOUD I am able to render images into media control. here is the image URL: "https://{tenant}.sharepoint.com/sites/{sitename}/{libraryname}/welcome_2.png".

 

please try the approach suggested by @pre 

View solution in original post

4 REPLIES 4
krishnags
Super User
Super User

@BKGOUD hope you embedding them in a gallery... in case of access issues, they should get an error, if not the way that images pulled may need to change. Please share your expression for a better idea

pre
Microsoft
Microsoft

Hello @BKGOUD 

Check the below solutions which can resolve the issue at your end::

1) Try the following::

|- Add a connection to the list/library where the images are stored
|- Add an Image control to your app
|- Set the Image property of that control to ThisItem.Link to item or if ThisItem is not available in your scenario, you can also fetch the item in code like:Last(Documents).'Link to item' . This means you are uploading images to a library called "Documents" and want to show the last one that you have uploaded.


2) If you're storing the images as Attachments to the list item, you'll probably need another gallery next to the one in which you're showing your list items - specifically to show the Attachments. This way, you can select the list item from the first gallery, and in the second gallery, show the attachments for the selected list item. See screenshot attached for an example.

 

3) Try the below steps::

|- Upload images manually to Media in Powerapps.
|- Hope your SharePoint list has a column SP_list_column 1 with the name of the image per row in it.
|- Make an clearcollect function on the on visible property for the homescreen to collect the images to the collection called Applicationimages with a column AI_icon_name and column image for the image name from the media Images library. (ClearCollect(Applicationimages,{Row: 1, AI_icon_name: "Icon_name", Image: Name_image}, {Row:2 etc})
|- Load the page to collect the data in the collection
|- Add a blank gallery linked to my SharePoint list
|- Add a SharePoint list item column in a text label to display a data column from the list and added an image control
|-Set Image property of the image control to: LookUp(Applicationimages,AI_Icon_name='SP List column 1',Image)
|-It should be loading the correct image without using the thumbnail solution.

 

4) Check these videos
https://youtu.be/2QeOILfo1Bw?t=52
https://youtu.be/buJKpQD0ZPM?t=52

 

 

If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks

Hi @krishnags , 

Thanks for helping me.

Isuue: Images not displaying on powerapp screen for the users. 


We have loaded all the images into the document library.
Created a single line of text datatype column and given the url's from images library.
Used the Image control on gallery for displaying the images.
Also Granted read permissions to everyone for the document library.

 

 

@BKGOUD I am able to render images into media control. here is the image URL: "https://{tenant}.sharepoint.com/sites/{sitename}/{libraryname}/welcome_2.png".

 

please try the approach suggested by @pre 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (46,132)