youtube image
From YouTube: Image Column Type formatting in Microsoft 365

Description

In this 14-minute developer-focused demo, Chris Kent’s time saving, error avoiding recommendation to upload images to Site Assets and automatically expose them in a list’s Image column, no manual linking necessary, is just simple! Format Image column appearance using sub-properties. Use the sub-property - thumbnailRenderer and drive thumbnail option to select image size from Microsoft Graph. All formatting code is found in the referenced image-lightbox sample. Hover card and dynamic picture sizing shown here as well. This PnP Community demo is taken from the General Microsoft 365 Development Special Interest Group (SIG) - Bi-weekly sync call recorded on July 8, 2021.

Demo Presenter: Chris Kent (DMI) | @theChrisKent

Supporting documents:
• Documentation - List thumbnails for a DriveItem | https://docs.microsoft.com/en-us/graph/api/driveitem-list-thumbnails?view=graph-rest-1.0&tabs=http
• Sample - Image Lightbox | https://github.com/pnp/List-Formatting/tree/master/column-samples/image-lightbox

Learn more:
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp-videos