Skip to main content

Notifications

Community site session details

Community site session details

Session Id : /g6EMTh3WcrYDHds8XAb2d
Power Apps - Building Power Apps
Unanswered

PowerApps problems with showing images

Like (0) ShareShare
ReportReport
Posted on 1 Sep 2021 09:59:38 by 2

I know that this topic has been covered a lot on here, and I have read dozens of threads about this, and tried lots of different solutions, but to no avail.

 

I am building an app that has a gallery on a Browse screen. The gallery is connected to a SharePoint list. When an item from the gallery is selected it opens a new screen (called Question) and should display an image which is in the same SharePoint list, along with other data from the same list. All the other data shows up fine, but the images do not.

 

I have the image saved as both an image in a column called Image, with the column type set as Image, and in a second column called Question_image where the image is saved as a url (a belt a braces approach!). In the first case, the image itself is saved in a regular folder in the same SharePoint site as a jpg.

 

Following the advice here:

https://www.practicalpowerapps.com/images/powerapps-sharepoint-images-storing-and-viewing/ 

and here:

https://www.spguides.com/power-apps-image-control/ 

as well as numerous other threads here and all I get is a blank Image Control box and/or this message in the formula bar:

"This formula uses scope, which is not presently supported for evaluation"

 

The images also do not appear if I try to put them in the main gallery on the Browse screen and it displays the above message.

 

So I found a work around, I put the images in a Picture Library on SharePoint, inserted a gallery onto the Question screen and filtered it to show the correct image for the SharePoint list item, which worked, great. However, when I tested the app on a mobile device (Android) the images didn't show up, due, I believe, to authentication issues which are well known. So I am back to square one!

 

I can't save the images locally on PowerApps because the SharePoint list is updated using a Flow.

 

I can share screen shots of my formulas if that would be helpful, but I feel that I am now just going round in circles.

Any help would be gratefully received.

  • Suggested answer
    DP-13081307-0 Profile Picture
    2 on 18 Sep 2024 at 14:58:49
    PowerApps problems with showing images
    Ran into this same issue yesterday. The data source for our app is a SharePoint List as well. We created a Security Group, gave the Security Group access to the Power App and to the data source (SP List), then just added the intended app users to that Security Group to give them access to the app.
     
    The app was working properly for over a year with users able to view all photos in the galleries without issue. Suddenly no one could see any photos, even though we did not make any changes.
     
    Resolution:
     
    Had to grant 'Edit' permissions to the Security Group for the 'Site Assets' library on the SharePoint site. (Home Screen -> Settings -> Site Contents -> Site Assets).
     
    That is where the links for the photos on the Power App were pointing too, so we figured that's where the issue was. This has fixed the issue for us.
  • HenryLFL Profile Picture
    2 on 07 Feb 2024 at 14:56:01
    Re: PowerApps problems with showing images

    Hi, I know that issue regarding issues displaying images in PowerApps is covered extensively but I cannot find success after numerous trial and errors. I have imported an excel file into Dataverse table containing valid URL hyperlinks listed in Column "Image", for info. The weblink is as follows https://raw.githubusercontent.com/microsoft/PowerPlatformAdvocates/main/MSLearn/AIModule/Images/property5.jpg But the picture still does not show up when I insert the image.  Fx field Image=

    ThisItem.Image. Can you kindly enlighten me. Please
  • WarrenBelz Profile Picture
    146,668 Most Valuable Professional on 05 Sep 2021 at 00:42:19
    Re: PowerApps problems with showing images

    Hi @TeacherOlly ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

  • WarrenBelz Profile Picture
    146,668 Most Valuable Professional on 01 Sep 2021 at 21:01:06
    Re: PowerApps problems with showing images

    Hi @TeacherOlly ,

    There are many ways (as set out in the second section of my blog). The external URL will always work, but the OneDrive URL will not as it does not have a jpg (or other image file type) extension. A Library URL should work on PCs, but will not on mobile devices (as you have found out) due to the way these need to reference URLs anonymously. You can however display them using the '{Thumbnail}'.Large syntax when the Library is linked as a data source by referencing them with a Lookup.

     

    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.

  • TeacherOlly Profile Picture
    2 on 01 Sep 2021 at 15:33:58
    Re: PowerApps problems with showing images

    Thank you @WarrenBelz,

     

    I have given up on the column formatted as an Image, and have been trying to use the column formatted as Hyperlink. I have tried a couple of other things:

    • Using a link to another image on an external website, the url is in the format www.websiteaddress.co.uk/picture.jpg; this works, and the image displays fine.
    • Using a link to an image in my OneDrive (it is a business account), for example https://company.sharepoint.com/:i:/s/nameofsite/ESAZo81In85Dmoqlb5zoIQ4BID07IHIWGbwq89F2vmhzPw?e=hcXEZb; this does not work.
    • The same is true for links to images in an Image Library.

    Could it be a permissions issue or the way that I am copying the link to the image? Is there a way of getting a link to an image file saved somewhere on SharePoint that ends with the image file type?

  • WarrenBelz Profile Picture
    146,668 Most Valuable Professional on 01 Sep 2021 at 10:34:21
    Re: PowerApps problems with showing images

    Hi @TeacherOlly ,

    That first blog is mine, so I am happy to clarify anything, however are your trying to display an Image type column from SharePoint in Power Apps? If so, this is not presently supported, however I believe the process is scheduled for inclusion later in 2021.

     

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard