Support » Plugin: Slimage » settings of PDF thumbnails

  • 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

    1) wp_get_attachment_metadata
    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…

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Giorgos Sarigiannidis


    I tried to upload some PDFs but I didn’t see any thumbnails generated. I haven’t used that specific WordPress feature, so if you could give me some more details about the workflow you follow when uploading PDFs, I might be able to take a closer look.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.