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

WordPress Trac noreply at wordpress.org
Mon Feb 2 12:22:30 UTC 2015


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

Comment (by Teeks):

 Instead of patching image_get_intermediate_size I used the filter in
 image_downsize.

 I think it's better to approach this with code in a theme than changing
 core methods, because on-the-fly image sizing is more often a theme
 specific requirement.

 There's a hefty long description in the gist doc block, please let me know
 if this helps or you improve on it:

 https://gist.github.com/timkinnane/e82eb87d9cc489620b80

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15311#comment:111>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list