[wp-hackers] Set a unique directory for uploads

Mário Gamito gamito at gmail.com
Fri Jan 16 16:05:38 GMT 2009


Hi Gaarai,

Thank you for your answer.

Gaarai wrote:
> add_filter( 'intermediate_image_sizes',
> 'remove_intermediate_image_sizes' );
> function remove_intermediate_image_sizes( $sizes ) {
>    return array();
> }
> 
> This could simply be added to your functions.php file in the theme. I
> tested it this way, and it worked perfectly.
Yes, it works. Although I get the "headres already sent" warning after
the crunching.

But the worst part is that it breaks the tools page. I get a blank page.

Any ideias ?

Warm Regards,
-- 
:wq! Mário Gamito
Key Fingerprint: 0x04DA9BC9


More information about the wp-hackers mailing list