I can see from looking at the post_meta table that WordPress does indeed automatically create a "small" size thumbnail for the PDF images that are uploaded to the WP-Types document field.
My question is how do I display this image via Views or a content type?
Thank you for contacting Toolset support. I have not tried this personally. Can you please send me backend screenshot of your View or Content Template where you have inserted this PDF & Thumbnail? The one which is used here: hidden link
Thanks for details. The thumbnails work for the featured image shortcode but not for this doc field. As you are using custom shortcode to display image, I have been trying to modify this code so it works with thumbnails.
I am still working on it and will update you shortly on this. Thanks
Hey Norman, I am really impressed you took the time to come up with a solution to a very difficult little problem. Thanks!!
I tested and deployed your code and with a slight modification and it works fine; your idea was the key. It's not perfect but I don't think there's anything you could do to improve on the solution and I don't think it's worth pursuing in any case. Even though it's not finding all small thumbnails, it's finding most and greatly improving page load.
It would be nice if there were some way that Toolset itself associated auto-generated PDF images to the file field so that you could pull them out through a database relationship as opposed to a file name hack like this, but that's probably not a super important feature.