The Image column type in Dataverse is a powerful addition. It allows you to store images such as company logos, profile photos, or product pictures directly on a record without relying on Notes or attachments.

When building a Power Pages site, you may need to display these images on the portal. Fortunately, Power Pages provides a built-in endpoint that allows you to render images stored in Dataverse image columns.

To display an image, construct a URL using the following format:

/Image/download.aspx?entity={entity}&attribute={attribute}&id={record-guid}&Full=true

Parameter Breakdown –

  1. entity – Logical name of the Dataverse table
  2. attribute – Logical name of the image column
  3. id – Record GUID
  4. Full=true – Returns the full size of the image; by default, it returns a cropped thumbnail-size image.

You can embed the image directly in HTML like this:

<img 
  src="/Image/download.aspx?entity=account&attribute=sm_logo&id=c122b52e-8306-f111-8407-000d3a81bc33&Full=true" 
  alt="Company Logo"
  style="max-width:200px;"
/>

Note

This endpoint respects Power Pages table permissions and column permissions. Ensure that the appropriate web roles and table permissions are configured correctly.