[wp-hackers] avoiding of using phpThumb / timThumb
Mohammad Jangda
batmoo at gmail.com
Thu Mar 31 16:18:03 UTC 2011
On Thu, Mar 31, 2011 at 12:04 PM, Konrad Karpieszuk
<kkarpieszuk at gmail.com>wrote:
> is there any function which i can use in way like phpThumb? this
> should rescale image (with crop option) but before this check if
> already rescaled version exists
>
Check out the functions in the following files:
http://core.trac.wordpress.org/browser/tags/3.1/wp-admin/includes/image.php
http://core.trac.wordpress.org/browser/tags/3.1/wp-includes/media.php
*
*
*Lots of functions in there that you can probably use. One of the best
functions is `image_make_intermediate_size`.*
More information about the wp-hackers
mailing list