
Originally Posted by
tommyvallier
Wholly wow has it been a while since I came in here. *blows off dust* Sorry. :( *blush*
I'm trying to... persuade a client to stop using FTP for uploads and switch to the built-in media manager. His original complaint was that MM wasn't setting things in year/month folders (It was disabled for some reason) - so I fixed that. Then he moaned that MM would create 4 versions at sizes he didn't like. So I fixed that, too. Now he's saying that he's sticking with FTP so that he can delete the smaller sizes (Which are just scales, not crops, so they can be made on upload) after they're off the front page and not needed any more. *sigh*
Obviously, he COULD go in through FTP and delete them from the uploads folder. But if I toss that option at him, I'm done for - my whole argument has been that he can do things without the second program. Telling him to open FTP to delete image sizes will net a "But then I'm just using it anyway." reply.
Any thoughts? Anyone seen a plugin that enhances MM and lets you delete specific sizes?
Thanks - and I'll try to come back more.
Can you hook into the intermediate_image_sizes filter, to remove the offending image sizes?
The default is:
PHP Code:
$default_sizes = apply_filters( 'intermediate_image_sizes', array('large', 'medium', 'thumbnail') );
Couldn't you do something like:
PHP Code:
$default_sizes = apply_filters( 'intermediate_image_sizes', array( 'thumbnail') );
Or, if he doesn't want ANY resized images:
PHP Code:
$default_sizes = apply_filters( 'intermediate_image_sizes', array( '' ) );