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

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 9 04:36:09 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       |    Keywords:  dev-feedback  
-------------------------+--------------------------------------------------

Comment(by vteixeira):

 Why the DOS? The images are resized and cached.

 They are processed just on the first request and only for that specified
 size.
 I'm not sure why it would eat up resources.

 The idea is, like you said, to generate them on demand, and not every size
 on the upload.

 Yes, your suggestion is ok, but we should also count for images that are
 not attachments (or we doesn't know the ID) like images in custom fields.
 So I could register my image sizes and later on I could change those sizes
 and my images would be regenerated again when they are requested.
 The point here is to generate the resized images only when they are
 requested and not on upload so I don't end up with lots of image files
 lying around.

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


More information about the wp-trac mailing list