[wp-hackers] Resize the "default" image before it gets resized

DD32 wordpress at dd32.id.au
Sat Nov 15 23:45:56 GMT 2008


I'd be hooking onto the filter 'wp_handle_upload' in wp_handle_upload():  
http://trac.wordpress.org/browser/trunk/wp-admin/includes/file.php#L306

Thumbnail generation is based off the return values of that

On Sun, 16 Nov 2008 00:21:37 +1100, Shane A. Froebel <shane at bugssite.org>  
wrote:

> Hey all.
>
> Anyone have any good ideas on how while uploading files that it can
> resize the default image (only in functions.php in my theme) and then
> use that resized image as a base for creating the 'thumbnail', 'medium',
> and 'large' settings.
>
> Your Friend,
> Shane
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>




More information about the wp-hackers mailing list