Free Support Forum - groupdocs.com
How to: Retrieval of thumbnail URLs (GroupDocs.Viewer)
GroupDocs.Viewer Product Family
2015-11-09 02:56:00 UTC
I just want to ask if there is a way that we can retrieve the thumbnail of the files being previewed programmatically? We want to use those thumbnails as a profile image. Below is a sample link of a file thumbnail.
2015-11-09 06:31:00 UTC
Thank you for the request. Unfortunately GroupDocs.Viewer doesn’t have special method to obtain document thumbnails. But you can try to get them via the URL from your request. You should do next:
1. Generate document cache how described
2. Use the URL to get thumbnails with such header parameters:
path - file name
pageindex - page number
useHtmlBasedEngine:False - should be false always.