Skip to main content

Notifications

Community site session details

Community site session details

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

Images from Share Point are not showing

Like (0) ShareShare
ReportReport
Posted on 26 Mar 2024 15:52:36 by 12

We have images stored in Share Point documents folders.

 

Up till just yesterday, they would show in the Power App when link in the image box.

 

I have tried new image boxes, but they also are showing no image at all, just blank.

Tried in both Edge and Chrome.

 

I can take URL and paste into browser and it works fine.

 

Did something change?  Any other suggestions?

  • crisfervil Profile Picture
    85 on 06 May 2024 at 18:00:56
    Re: Images from Share Point are not showing

    Great Idea!

  • TMT001 Profile Picture
    12 on 05 May 2024 at 13:48:46
    Re: Images from Share Point are not showing

    Well we found a solution. 

     

    Right now we store the image as a link ( /shared documents/folder/img.jpg for example ).  Of course this is how all the videos show to do it that I saw.

     

    When we create the image with a flow from the PowerApp, we just would store that, but found if store the ID for it, like the ID of list, we can then use this to do a simple lookup that has no security issues within the app.  So we did have to go in and download the documents folder like a list in excel, to get the ID's and then updated our list with these ID's.  Now the flow auto adds them when the image is created/saved for all new ones.

     

    so before the image link in PowerApps would be:

    https//url/shared documents/folder/img.jpg

     

    now:

    lookup(documents,ID=myImageID).Thumbnail.Large

     

    Before it never really worked in the app, like on a phone or anything, due to security and needing a browser to gain the login to see the images.  But this new way works well with all ways we would access the app.  And this has been tested and working with well two different workspaces, with 20,000 images and 40,000 images in the other.

     

    Hope this can help some others with ideas of different ways to do this.

  • crisfervil Profile Picture
    85 on 29 Apr 2024 at 18:24:10
    Re: Images from Share Point are not showing

    A few ideas you could use:

     

    - Copy your images to a repository that doesn't require authentication, like an Azure Blob storage. This will also improve the performance of the app.

    - Move the relevant images (the ones used by your app) to a different SharePoint Library, so the number is lower than 5K.

    - Provide another filter criteria to the Lookup function. Maybe you can filter using another column in the library.

     

    More info:
    https://www.matthewdevaney.com/sharepoint-delegation-cheat-sheet-for-power-apps/

     

    I hope it helps!

  • TMT001 Profile Picture
    12 on 29 Apr 2024 at 17:05:05
    Re: Images from Share Point are not showing

    This issue has reappeared again.

     

    I did try the lookup option, but problem is there is way more images than I can lookup that way. ( delegation issues )

     

    I believe there is around 8,000 images in those folders total.  So the lookup just does not work in this case either.

     

    anyone else have any other ideas to help with this?

  • TMT001 Profile Picture
    12 on 26 Mar 2024 at 20:22:12
    Re: Images from Share Point are not showing

    about 2 hours ago, it started working for everyone again.  So something change and then changed back, I guess.

     

    but thanks for the idea there, that could be a good workaround. 

  • crisfervil Profile Picture
    85 on 26 Mar 2024 at 19:30:19
    Re: Images from Share Point are not showing

    @TMT001 can you explain how you are retrieving the images from SharePoint and linking them to the image box?

    Are you using a gallery connected to a SharePoint library?
    If yes, you probably you already know that the column containing the image will have three sizes of images that you can link to.

     

    Something like this: 

    crisfervil_1-1711480448628.png

     

     

    If what you are trying to do is to use the link to a SharePoint image as the source of the image in the ImageBox, I'm afraid that won't work unless you use a publicly accessible link. The SharePoint security won't let you access the image from the Canvas App.

     

    If you want to retrieve the image for any given SharePoint URL use the SharePoint connector to handle the security for you. Use the Lookup function, then provide the image path as a filter. Something like this:

     

    LookUp(Documents,'Full Path'="Shared Documents/Marketing/Branding/BlueFire.png").Thumbnail.Small

     

    crisfervil_2-1711481347866.png

     

    I hope it helps!!

     

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!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,776 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard