I'm trying to make a document library containing PDF files and URL files, to show previews/thumbnails for all of the files.
PDFs are easy as it's built in but I'm trying to find any possible way to have the same thing for the URLs.
I found that the details pane on the URL files actually has a built in function that does in fact give the preview/thumbnail of the linked PDF file. I want to use this function directly in the page or on the URL file.
How would I achieve this? Can I hook into the getpreview.ashx that seems to be the element getting them?