[wp-trac] [WordPress Trac] #14106: Post-processing of post thumbnails

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 31 15:58:51 UTC 2010


#14106: Post-processing of post thumbnails
-----------------------------+----------------------------------------------
 Reporter:  nkuttler         |       Owner:                   
     Type:  enhancement      |      Status:  new              
 Priority:  normal           |   Milestone:  Awaiting Review  
Component:  Post Thumbnails  |     Version:  3.0              
 Severity:  normal           |    Keywords:  reporter-feedback
-----------------------------+----------------------------------------------

Comment(by nkuttler):

 I just had a look at the code again and it looks to me like implementing
 something like add_image_size( 'frontpage-black-and-white' ) is impossible
 if a differently named image_size is defined with the same dimensions.

 Adding context to the filter would work, but
 image_make_intermediate_size() currently only receives $file, $width,
 $height and $crop, not the image_size by name. This could be modified
 easily I think.

 Or maybe additional apply_filters(
 'image_make_intermediate_size_$image_size_name', $filter )?

 I could work on a patch if this is sounds acceptable.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14106#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list