[wp-hackers] way to remove image sizes?
Braydon
ronin at braydon.com
Tue Jan 31 19:21:19 UTC 2012
On 01/31/2012 08:25 AM, fris wrote:
> Just realized after using add_image_size('name',x,y); then removing it later
> on, its still registered.
It should no longer generate those thumbnails for new images uploaded if
it's not set, however any images that have already been uploaded will
still have the size, since it's already been generated. The plugin
Additional Image Size (
http://wordpress.org/extend/plugins/additional-image-sizes-zui/ ) can
handle deleting unused image sizes.
>
> Anyway to remove this? Other than deleting it manually from sql?
add_image_size doesn't write to the database (
http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/media.php#L183
)
More information about the wp-hackers
mailing list