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 / How do I take images f...
Power Apps
Answered

How do I take images from a SharePoint list or Document libary and put them in a gallery?

(0) ShareShare
ReportReport
Posted on by 154

I've been trying to figure this out, but I'm just not understanding.

 

I have a list of equipment in a SharePoint List and it is used in a fairly robust check-in/check-out app.  I want to include a distinct image of each piece of equipment in the gallery list of equipment.  I've been able to point the gallery template image at a single image, but that is making ALL the equipment in my list have the same image?

Do I put it in an attachment column?

Do I put it in the image column?  If I do, how do I put the data there and avoid using a link?

Do I put the images in a Image Library?  If I do, how do I assign them correctly the records in my SharePoint list?

 

Which is simplest?  Performs the best?  I don't want to wait for links to load or any other slow down.

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

    Hi @AaronTheYoung ,

    If you have a gallery based on the Library and put in an Image Control, you can view it with the Image property of 

    ThisItem.'{Thumbnail}'.Large

    you can also do Small and Medium

     

    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.

  • AaronTheYoung Profile Picture
    154 on at

    Cool. That's great info. I was able to get it to work by just using ThisItem.DeviceImage.  but, I don't like having to put a URL in column and that points to the image in a library.

     

    Can't I just store the image data in the SharePoint list?

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

    @AaronTheYoung ,

    Firstly have a read of this post of mine as it also covers attachments - this all works in Browsers as well as phone apps.

    You can use 

    First(ThisItem.Attachments).Value

    if you have one attachment and want to view it in the gallery or a form. Note however that this gallery has to be based on the List, not a collection as attachments do not come across in one.

    There is also the option of storing the image in Base64 text in a multi-line text field in the list, but for you an attachment is probably the best option (I use it quite a lot).

     

    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.

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

    Hi @AaronTheYoung ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.
    For your further assistance, I have recently done a blog on this subject.

     

    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.

  • AaronTheYoung Profile Picture
    154 on at

    Your information helped me down the road.  Thanks very much.

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard