web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get Image From SP Library
Power Apps
Answered

Get Image From SP Library

(0) ShareShare
ReportReport
Posted on by 372

Hi,

 

I want to show image from my sharepoint library, so I used this in my image formula:

"https://xxxxx.sharepoint.com/:f:/r/sites/xxx/xxxx/production_engineering/Welding%20Map%20Files/Others/Drawing%20Welding%20Map/"&Substitute(TextInput1.Text,"
","")&".jpg?csf=1&web=1&e=XGAeRV"

 

It works when I used Laptop to open my apps, but when I use smartphone, the image doesn't appear. Does anyone know why this happen? And how to fix it? Thank you!

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,495 on at
  • firda59 Profile Picture
    372 on at

    @Sundeep_Malik 

     

    thankyou! does it mean I cannot show my image in mobile apps nah?

  • Sundeep_Malik Profile Picture
    6,495 on at

    @firda59 

     

    Yup as far as I read the above posts, I think its not possible. 

    Sundeep_Malik_0-1698998255025.png

     

    But you can try the following that @WarrenBelz suggested:

     

    Sundeep_Malik_1-1698998368813.png

     

    Its in the 2nd post: 

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Share-point-pictures-can-not-be-seen-on-IOS-Devices/m-p/138416/highlight/false

     

     

    Tagging @WarrenBelz If he can assist here. 

    I havent tried it myself so I am not exactly sure, so tagged him.

  • BusyIntelligence Profile Picture
    321 on at

    Hi @firda59 , yes you can. You have to add the SP library as datasource in your app. E.g. it is called "Documents".
    To show the image you can create an image with source something like below: 

     

     

    First(Filter(Documents; Filenameextension="thisismyimage.jpg")).Thumbnail.Large

     

     


    When using a gallery, the datasource Documents can be used to list the images as previews in your app.
    This works both when you run the app in a browser and on a (Android and iOS) mobile device.

     

    Btw: you can/should improve above example by filtering on an indexed column because of delegation issues when your library contains lots of files

  • Verified answer
    WarrenBelz Profile Picture
    154,494 Most Valuable Professional on at

    @Maurits ,

    The only issue there is that queries on the File Name are not Delegable. You need to actually link the SharePoint Library and include a Delegable "link" to the "Parent". I use a numeric field containing the ID of the Parent. The issue is that on Mobile devices, Power Apps needs to resolve and URL-based Images anonymously (not requiring any login), so anything "pointing" at a SharePoint URL will not work. I have a blog on this subject that may be useful.

  • firda59 Profile Picture
    372 on at

    @WarrenBelz 

     

    Thankyou! I using formula: ThisItem.'{Thumbnail}'.Large and it can work perfectly in Laptop or SmartPhone. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard