[wp-trac] [WordPress Trac] #15606: Support thumbnails for non-image media types (was: Remove Hardcoded Image Extensions)
WordPress Trac
noreply at wordpress.org
Thu May 22 15:07:20 UTC 2014
#15606: Support thumbnails for non-image media types
---------------------------+-----------------------
Reporter: acumensystems | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: Media | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+-----------------------
Changes (by ericlewis):
* status: closed => reopened
* resolution: invalid =>
Comment:
Replying to [comment:15 SergeyBiryukov]:
> The suggestion in comment:9 was to add a filter on the return value of
`wp_attachment_is_image()`, to allow plugins create thumbnails for PDFs or
other file types.
I missed the point here. Let's re-open this. That would be cool to
support. I think the focus of this ticket on the
`wp_attachment_is_image()` is too narrow, and adding filters here
shouldn't be considered. This function has one job and is doing it
perfectly. Let's open the floor for other options.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15606#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list