[wp-trac] [WordPress Trac] #12120: Force Media Image Generation (for thumbnails)

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 7 08:19:33 UTC 2010


#12120: Force Media Image Generation (for thumbnails)
-------------------------+--------------------------------------------------
 Reporter:  atow         |       Owner:                         
     Type:  enhancement  |      Status:  new                    
 Priority:  normal       |   Milestone:  Future Release         
Component:  Media        |     Version:                         
 Severity:  normal       |    Keywords:  has-patch needs-testing
-------------------------+--------------------------------------------------

Comment(by Kanuck54):

 Ah yes, I should also mention my reason for doing this: PHP handles CMYK
 JPEG files just fine, whereas Internet Explorer does not. My client kept
 uploading CMYK JPEGs, not knowing the difference between that and an RGB
 JPEG.

 The bad solution was to tell him to stop uploading CMYK JPEGs. The good
 solution was to write this patch, set force_image_resize to true, use the
 "large" thumbnail, and tell him "problem solved!" PHP generates an RGB
 JPEG from his CMYK JPEG, Internet Explorer displays it successfully, and
 all is right in the world.

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


More information about the wp-trac mailing list