[wp-trac] [WordPress Trac] #38594: pdf preview sizes not filterable

WordPress Trac noreply at wordpress.org
Wed Nov 2 01:58:04 UTC 2016


#38594: pdf preview sizes not filterable
-------------------------------------------+------------------------------
 Reporter:  nosilver4u                     |       Owner:  joemcgill
     Type:  enhancement                    |      Status:  reviewing
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Media                          |     Version:  trunk
 Severity:  normal                         |  Resolution:
 Keywords:  reporter-feedback needs-patch  |     Focuses:
-------------------------------------------+------------------------------
Changes (by joemcgill):

 * keywords:   => reporter-feedback needs-patch
 * owner:   => joemcgill
 * status:  new => reviewing


Comment:

 Thanks @nosilver4u. As you mentioned, I don't think we would want to use
 the same `intermediate_image_sizes_advanced` filter here since the intent
 (at least for now) is to produce a limited number of intermediate sizes
 for the purpose of showing image representations of the PDFs in the media
 library, but I could see wanting a filter here.

 Could you give more detail about what you mean by "or take other action"?
 I'm curious what other types of actions you would be wanting do take at
 that point in the metadata generation process, and if you could hook into
 `wp_generate_attachment_metadata` as an alternative.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38594#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list