youtube image
From YouTube: Get Thumbnail Command Set extension for files

Description

This PnP community demo is taken from the bi-weekly SharePoint Developer Community – SharePoint Framework and JavaScript Special Interest Group (SIG) call recorded on December 19, 2019.

In this 5-minute video, Aakash Bhardwaj, Office 365 Developer at HCL Technologies, walks through a SPFx extension example that uses React to get a thumbnail image URL from a list. On the toolbar select “Get Thumbnail”, from the pop-up select thumbnail size - Small, Medium, Large and finally Copy the returned link. The get link functionality also works for docs, videos... The thumbnail is fetched using the Graph API.

Presenter: Aakash Bhardwaj (HCL Technologies) | @aakash_316

Supporting materials:
• Sample code - https://github.com/SharePoint/sp-dev-fx-extensions/tree/master/samples/react-command-get-thumbnail

All SharePoint PnP Developer Community demos: https://www.youtube.com/playlist?list=PLR9nK3mnD-OWSbg0o9a7mx_E7s2u7h_o2

Learn more about the SharePoint developer community at: http://aka.ms/sppnp