Thumbnail view on onedrive on premise sharepoint

Copper Contributor
We are trying to find a way to get the previews of the images and files uploaded in SharePoint 2016 onedrive/mysite on premise. When I connect my site through one drive app on iOS I can see the preview but not in Android or in browser. I tried capturing the network calls, and found there is method call like /_layouts/15/getpreview.ashx, but when I try accessing it gives 500 internal server error. If anyone can get some input from your technical expert to find a way to get the thumbnail preview of the files uploaded on my shared document library on onedrive/mysite on-premise sp2016.
1 Reply
Images preview is something you get by default in an Image Document Library, but for normal Document Libraries this is not provided and I don't see a way to achieve this without custom code...however, this is something we can have by default in SPO and SP 2019