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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Images show in Gallery...
Power Apps
Unanswered

Images show in Gallery while editing in studio, but no where else

(0) ShareShare
ReportReport
Posted on by 12

I have an PowerApp that allows users to take pics from and upload them to a SharePoint Image Library. When I try to show a gallery of the images, I can't seem to get the thumbnails to appear. It works fine while editing in the studio, and when playing the app from my PC, but it won't work anywhere else. I tried it on a user's computer, in Teams, and on mobile(android tablet and iPhone). Everything works fine except the images. Here is what I've tried so far:

  • ThisItem.'{Thumbnail}'.Large
    • This was in an image control
    • The image didn't even show in the studio
  • ThisItem.'Link to item'
    • Image control again
    • This works in studio and on my PC, but not in Teams, mobile, or client's PC
  • "<img style='border:1px solid #ddd;width:150px;height:135px;border-radius:4px;'src=" & ThisItem.'Link to item' & ">"
    • This was an html text control
    • This works on my PC and in studio, but shows a broken link image anywhere else.

I would appreciate any help with this, it is frustrating me to no end.

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,030 Most Valuable Professional on at

    Hi @PowerNewb ,

    Firstly if you want to show these on mobile devices, the only way is ThisItem.'{Thumbnail}'.Large as below

    ThumbnailLarge.png

    We display tens or thousands of photos on iPads and various Android devices with the code below.

    I assume the Items of the gallery are based on the SharePoint Library?

     

    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.

  • PowerNewb Profile Picture
    12 on at

    Hi, Warren!  The items in the gallery come from a Sharepoint Picture Library.

    PowerNewb_1-1609970799376.png

    PowerNewb_0-1609970769809.png

     

    I'm wondering if this is the issue, and I should be using a list instead?

     

  • Verified answer
    WarrenBelz Profile Picture
    153,030 Most Valuable Professional on at

    Hi @PowerNewb ,

    Yes I see the problem now - Picture Libraries were discontinued some time back (and were quite difficult to integrate with Power Apps) - you need a Document Library (which you can also store images in - they are just files).

    There are about 40,000 photos in the Document Library in the screen shot in my post and it works very well on both PCs and 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.

  • PowerNewb Profile Picture
    12 on at

    I switched to a Document Library and it works fine now. I wish I asked on here sooner, because this was driving me batty!

    Thanks so much for the help. And thanks for putting so much work into your blogs, they've been extremely helpful for a new powerapps user.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard