Most of the files uploaded to Chatter have a thumbnail next to them which shows the snapshot of the first page of the file.
Well, you too can generate the thumbnail for the files you upload and display those in your VisualForce Pages.
Thumbnails are dynamically generated whenever you access the below URL:
This link is delivered through either the content.force.com domain - https://c.<Instance>.content.force.com/ or the Community URL - http://<DomainName>.force.com/<CommunityName>
This URL has 2 important Parameters:
Rendition: Specifies the Size of the Thumbnail to be generated.
Version ID : The Content Version ID of the Document. This is available from the RelatedRecordId Field of a FeedItem or by querying the ContentVersion Object.
posted on 12 March 2015
Thumbnail Chatter Salesforce Content