Hello Viper,
Firstly, great job!
Secondly, sorry for my english poor (I'm Brazilian =)
Currently I use your plugin Regenerate Thumbnail. When we change the definitions of image_size, adding, removing or changing the order of statements, some thumbs were crazy rrsrs
If we run the plugin to regenerete thumbnails, nothing happens (only we edit format: width and height). Looking for a solution, i found that when we delete the old thumbnail file created by wordpress, the plugin works and create the thumbnail again, ONLY IF THE THUMBNAIL FILE DOES NOT EXIST!
I edited the plugin for him to delete all image thumbnails before you regenerate. More specifically altered function ajax_process_image(), then the line @ set_time_limit(900).
Here is the full function with my modifications: https://gist.github.com/3336770
See the specific code below:
// ############
// DELETE ALL THUMBNAIL, TO REALLY REGENERETE =D
// By: Pedro Elsner
// ############
global $_wp_additional_image_sizes;
$imagePath = substr($fullsizepath, 0, strlen($fullsizepath) - 4);
$imageFormat = substr($fullsizepath, -4);
foreach($_wp_additional_image_sizes as $key => $value) {
$thumb = $imagePath . '-' . $value['width'] . 'x' . $value['height'] . $imageFormat;
unlink($thumb);
}
// ############
Now yes, we REALLY can regenerate thumbnail.
Thanks my friend!