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?

enter image description here

1 Answer 1


This is not available in the details panel, if the linked file points to a site, there is no thumbnail you mentioned in this panel:

enter image description here

Therefore,Link file format is not suppoted by thumbnail, we cannot see thumbnails for all of the files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.