Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md added file-thumbnail sample (#158) May 27, 2019
file-thumbnail.json added file-thumbnail sample (#158) May 27, 2019
screenshot.gif added file-thumbnail sample (#158) May 27, 2019

README.md

File Thumbnails

Summary

This sample utilizes the @thumbnail placeholder token to create an inline preview for document libraries. Folders and filetypes where previews are not available will not display at all.

screenshot of the sample

Note - the automatic removal of the img element when dealing with folders or filetypes where previews are not available requires that properties of the img element do not use expressions.

Sample

Solution Author(s)
file-thumbnail.json Chris Kent

Version history

Version Date Comments
1.0 May 27, 2019 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Additional notes

  • SharePoint Online only

You can’t perform that action at this time.