Make WordPress Core

Opened 8 years ago

Last modified 4 years ago

#41279 new feature request

Make PDF Thumbnail (WP 4.7 feature) accessible via the Media Manager

Reported by: sflwa's profile sflwa Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: Cc:

Description

When you upload a PDF file WordPress creates a "preview image" - This was added as of WP 4.7

This feature request to have that image also added into the database so that it is accessible via the Media Manager.

The use case for this feature is that I have a Monthly Newsletter and want to use the preview image (page 1 of the PDF) as the featured image for the post where I am putting the link to the PDF

Additionally some plugins (like visual composer) allow you to insert single images, however, you need to be able to select it from the media manager, not just put in a URL

Change History (7)

This ticket was mentioned in Slack in #core by sflwa. View the logs.


8 years ago

This ticket was mentioned in Slack in #core-media by nosilver4u. View the logs.


8 years ago

This ticket was mentioned in Slack in #core-media by joemcgill. View the logs.


8 years ago

#4 @joemcgill
8 years ago

Hi @sflwa,

Thanks for the ticket! This seems related to #39618.

#5 @sflwa
8 years ago

This is similar to that, however, in my case - I'm looking to use the image independent of linking to the PDF

So for example using the image as a Feature image in a post.

I will link to the PDF as well within the post, but the featured image is just that the image

as I read #39618 this is moreso that they want to insert a link to the PDF and have the system grab the thumbnail for the link

What I'm pretty much looking for is when it creates the image, for a an additional record to be added to the post & postmeta tables so that it will show in the Media Manager

#6 @gmariani405
5 years ago

Any update on this? This would be a VERY useful feature.

#7 @cgrymala
4 years ago

I would also like to see this updated. As it stands right now, in order to use the PDF cover/thumbnail as a Featured Image, we have to download the one that WordPress creates automatically (or create our own), and then upload it to the media library separately. That means that, for every PDF where we need to use the cover as a Featured Image, we're doubling the related assets in our media library. It would be much more ideal if we could just select the WP-generated image.

Maybe this could be solved by simply allowing PDFs to be part of the "Featured Images" filter, so, instead of having to expose the auto-generated image everywhere, there would just be some logic that allows us to select PDFs as Featured Images, and uses the associated thumbnail from that PDF.

Note: See TracTickets for help on using tickets.