Codex tools: Log in
Resize an image to make a thumbnail or intermediate size.
The returned array has the file size, the image width, and image height. The filter 'image_make_intermediate_size' can be used to hook in and change the values of the returned array. The only parameter is the resized file path.
<?php image_make_intermediate_size( $file, $width, $height, $crop ); ?>
image_make_intermediate_size() is located in