Hi, sorry for spaming, but I like plugin very much! 🙂
in filter attachment_fields_to_edit you checking attachment, if is image. But we have also PDF thumbnails, which is not. I think, there it can be like below
2) check if meta[sizes] is set
3) get relative path of full image
4) check extension over wp_check_filetype, if is jpg,png…
Like this, it would be bulletproof. I have thumbnails of PDF, MP4 videos…
- The topic ‘settings of PDF thumbnails’ is closed to new replies.