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 / To display images from...
Power Apps
Answered

To display images from a multi-select Person type column in your PowerApps gallery

(0) ShareShare
ReportReport
Posted on by

 Hi 

To display images from a multi-select Person type column in your PowerApps gallery,I follow these steps:

 

If(
ThisItem.LT_Owner.SelectedItems.Count > 0,
Office365Users.UserPhotoV2(First(ThisItem.LT_Owner.SelectedItems).Email),
// Placeholder image/error handling
)

 But its showing an error 

name isn't , selectedItems isn't recoginized and Inavlid use of '.'

 

Could anyone pleas ehelp me to fix this issue  

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Danny_Dicaprio ,

     

    Please try below codes:

     

    If(
    CountRows(ThisItem.LT_Owner) > 0,
    Office365Users.UserPhotoV2(First(ThisItem.LT_Owner).Email),
    SampleImage
    )

     

     

    Best regards,

  • Danny_Dicaprio Profile Picture
    on at

    Hi @v-jefferni 

     

    Thanks for the reply, I tried using that but ist showing some error.

    Danny_Dicaprio_0-1706681145638.png

     

     Instead, I tried adding First(ThisItem.LT_Owner).Picture  It helps me to retrieve the first user image perfectly. 

     But if I want to retrieve the image of the second user, how do I do it ? 

     

     

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Danny_Dicaprio ,

     

    So, you need to display user pictures as many as the users in each field. You can use a sub-Gallery inside the main Gallery template, use below formula for the Items of sub-Gallery:

    ThisItem.LT_Owner

     

    and then add the formula for the Image control in sub-Gallery:

     

    ThisItem.Picture

     

     

    Nested Galleries tutorial:

    powerappstutorial.com

     

    Best regards,

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

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard