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

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 19 00:52:48 UTC 2010


#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  |
--------------------------+-----------------------------

Comment (by Viper007Bond):

 This plugin --  http://wordpress.org/extend/plugins/regenerate-thumbnails/
 -- recreates all thumbnails, but wastes much time remaking existing
 downsized images without checking whether it needs to (presumably, one
 could check existing file times and skip downsized images with timestamps
 after their parent). The Wordpress database contains a list of image sizes
 for each attachment, created by wp's internal functions when the downsize
 functions create images for registered sizes; but this plugin blitzes that
 list and starts over.

 If my plugin were to do that, it would require maintaining a modified
 version of `wp_generate_attachment_metadata()` (the single function my
 currently uses to generate the thumbnails).

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


More information about the wp-trac mailing list