Hello,
I am attempting to get PDF thumbnail in image gallery from SharePoint list via this URL:
Image = "https://xxxxterprises.sharepoint.com/_layouts/15/getpreview.ashx?path="&ThisItem.AbsoluteUri & "&resolution=6".
As you can see, I am using Image control in the gallery and linking it to SharePoint URL as per this video.
Images do appear, but any other file type will not produce a thumbnail( including PDF).
What am I doing wrong?... and if this is not possible is there a workaround?

Thanks.