[wp-trac] [WordPress Trac] #21810: Improve intermediate image size handling

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 12 02:35:56 UTC 2012


#21810: Improve intermediate image size handling
----------------------------+--------------------
 Reporter:  koopersmith     |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.5
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------
Changes (by DrewAPicture):

 * cc: xoodrew@… (added)


Comment:

 Replying to [comment:9 martythornley]:
 > While looking at image sizes... it would be a huge improvement to allow
 a max size that uploads will never be bigger than. Currently the "max
 size" adjusts that large size, but the huge original image is still
 uploaded and remains on the server.

 There's a scaling option built into plupload that's currently mapped to
 the dimensions of the 'large' image size. You can enable the functionality
 ui on upload by adding the following action:

 {{{
 add_action( 'post-upload-ui', 'media_upload_max_image_resize' );`
 }}}

 Granted, you're effectively losing the 'original' image size but we've
 found this greatly cuts down on photogs filling up the server with full-
 sized originals that will never be used.

 It would nice to see the hook get included in the new modals since we rely
 on it so heavily.

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


More information about the wp-trac mailing list