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 Pages / Display entityimage in...
Power Pages
Answered

Display entityimage in list

(0) ShareShare
ReportReport
Posted on by 8

Hello!

 

I was wondering if there was a way to display the entityimage from the contacts in a list on my Power Pages?

I have enabled the profile picture option in the Power Pages profile page, but I am unable to find the Entity Image when setting up a view to display the table. 

 

Is there any way to display this image in a list?

Categories:
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Overall, I don't think I would recommend this, from my experience the Portal takes a while to load the profile image.

     

    I normally use the following code to load the profile image. This is actually using Liquid so it only gets the user logged in, so it's not quite what you need but it's a starting point. My function ProfilePIctureLoaded() below you can remove, it's basically to add a loading/spinner.

    <img id="profilePicture" src="{{ user.entityimage_url }}" alt="Profile Image" class="img-fluid rounded-circle mb-2 d-none" style="margin:auto; width: 150px;" onload="ProfilePictureLoaded()">
    

     

  • Hagru Profile Picture
    8 on at

    I experimented a bit, and figured in the end it's not really worth it in any way. 

     

    I wanted to have a list of the people attending, and for them to set up their profile with an image. It's a bit easier to know who to look for, and that you know you're in the right place if you know who you're looking for.

     

    I encountered multiple issues playing around with images that would take more away from the user than it gives. I figured the easiest way was to add another image field to the profile form, which I was able to show in a view, but even if I set the image size to the max value, it was just painful, as I could barely upload icon images, and received errors left right and center, as the image was too big, or at least that's what I imagine is giving me the error, even if the image is far from the 128MB the control can handle. With its almighty 418KB, it is almost 10 times smaller than the "Maximum image size" of the column set to 30MB, somehow I still get an error screen saying "The request is blocked" when updating the Profile Form with the picture uploaded to the new image field.

  • Verified answer
    Hagru Profile Picture
    8 on at

    I think I "solved" it by disabling the Web Application Firewall in the Site settings in Admin Center. Probably a good idea to keep it enabled, but that's apparently a fix.

     

    hagru_0-1714463913693.png

     

    I am then able to upload bigger pictures than the 30KB limit it seemed to have, both as the profile picture in the profile (although I am not able to display this in a view), and also in the new custom image field.

  • KM-14051302-0 Profile Picture
    41 on at

    Is there a way doing something similair and adding an entityimage for accounts, into a form?

     

    KMP_Uniserve_0-1717867474598.png

     

    So that the image related to the selected account is displayed on the entity form?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 35

#2
M Bilal Khan Profile Picture

M Bilal Khan 29

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard