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 / Image attachment doesn...
Power Apps
Answered

Image attachment doesn't show on phone

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I'm using below code but it could not show the image on phone app.

Do you know how to fix it?

 

First(LookUp('SharePoint List',Title = varViewDetails.Title).Attachments).AbsoluteUri

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,945 Most Valuable Professional on at

    Hi @kinghnvn ,

    Try this

    First(
     LookUp(
     'SharePoint List',
     Title = varViewDetails.Title
     ).Attachments
    ).Value

     

    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.

    Visit my blog Practical Power Apps

     

     

     

  • kinghnvn Profile Picture
    on at

    thank you for your replying @WarrenBelz 

    Yes, I already used that code. It works for my account only, other user cannot see the image attachment I don't know why 😞

     

    For this code First(LookUp('SharePoint List',Title = varViewDetails.Title).Attachments).AbsoluteUri -> it works on Web but it doesn't work on phone (other user can view on web but could not see the image on mobile app)

     

  • WarrenBelz Profile Picture
    154,945 Most Valuable Professional on at

    @kinghnvn ,

    Sorry, there are only two ways of viewing attachments - it is strange however that my users and about 100 iPads of various types that this works perfectly on.

     

    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.

    Visit my blog Practical Power Apps

     

  • kinghnvn Profile Picture
    on at

    Thanks.

     

    I tried to use this code with Map Link column  LookUp(SharePointList,Title = varViewDetails.Title).'Map Link'

    but it's still same issue: can view on web, doesn't show image on mobile app

  • WarrenBelz Profile Picture
    154,945 Most Valuable Professional on at

    Hi @kinghnvn ,

    URLs in SharePoint (I assume that is what these are) will not display on mobile devices due to the way that Power Apps (the app) needs to resolve URLs anonymously (anyone can view them). I have a blog on SharePoint images storing and viewing that covers the options, including mobile devices.

     

    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.

    Visit my blog Practical Power Apps

  • kinghnvn Profile Picture
    on at

    Hi @WarrenBelz 

    needs to resolve URLs anonymously (anyone can view them) -> I tried to upload the image to google drive and share for anyone can view but it's still not working on mobile app, any advise? thanks.

     

    kinghnvn_0-1641520676087.png

     

     The following however works in both browser and app environments and generally resolves quicker.

    ThisItem.'{Thumbnail}'.Large -> I tried this code but it's still not showing on mobile app.

     

  • WarrenBelz Profile Picture
    154,945 Most Valuable Professional on at

    Hi @kinghnvn ,

    I can assure you that is the reason mobile devices so not display SharePoint URLs - they should (and do) display other external URLs in the small number I have used on mobile devices (mainly background images) - but back to your issue . . .

    If you store the image in a SharePoint Library, have the "parent" identifier in a field in the Library (I generally use the ID and store it in a numeric field IDRef), you can do a gallery (below is a screenshot from one of my production apps that is used on iPads)

    ThumbnailLarge.png

    with Items

    Filter(
     YourLibraryName,
     IDRef = YourParentID
    )

    and they display as expected. I still do not know why your attachments are not displaying as I have several mobile apps using attachments and they display perfectly with .Value

     

     

  • Mayuresh_Joshi Profile Picture
    54 on at

    This has fixed my issue. For those who want to know how it worked, here is the answer.

     

    .AbsoluteUri returns the SharePoint URL of that file that needs authentication.

    .Value returns the blob of that image which does not need authentication.

  • JoeFL954 Profile Picture
    2 on at

    This worked for me also.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard