I am using rest api to get the items from a document library:
/_api/web/lists/GetByTitle('${listName}')/items?${queryString}
However none of the returning properties is a thumbnail image of the document.
I came across the idea of using getpreview.ashx - with passing in the path to the file - but for some reason this just picks out a random image from each document - I was expecting the front page to be returned (much like the standard document view in SPO)
can anyone help?