How to create thumbnail of different files?
You’re already looking in the right places. (And nowadays WordPress already supports PDF thumbnails through ImageMagick – code.) To add a new thumbnail generator, you’ll need to: write a new WP_Image_Editor class that supports the file type or types you want – you’ll want to extend the base class and override at least test() load() … Read more