[wp-trac] [WordPress Trac] #15311: dynamic image resize (on the fly) using already available functions

WordPress Trac noreply at wordpress.org
Sun Jun 16 08:37:47 UTC 2013


#15311: dynamic image resize (on the fly) using already available functions
------------------------------------+-----------------------------
 Reporter:  vteixeira               |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Media                   |     Version:  3.1
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------------

Comment (by NickDC):

 Replying to [comment:43 scribu]:
 > 1. Add an 'immediate' parameter to each intermediate size. `'immediate'
 => true` means the file is generated right after the attachment is
 uploaded.
 >
 > 2. For `'immediate' => false` sizes, generate it on the fly, only if
 it's not present in the array returned by wp_get_attachment_metadata().

 This is a great approach. Is anyone working on a patch for this?

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


More information about the wp-trac mailing list