[wp-hackers] way to remove image sizes?
fris at fris.net
Tue Jan 31 19:52:19 UTC 2012
Ahh ok, because I was generating an array of image sizes for insert to post
via the media manager, and it was listing ones I previously made.
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Braydon
Sent: Tuesday, January 31, 2012 2:21 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] way to remove image sizes?
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 (
wp-hackers mailing list
wp-hackers at lists.automattic.com
More information about the wp-hackers