? .svn
? not-always-thumb.patch
Index: image_exact.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image_exact/image_exact.module,v
retrieving revision 1.3.2.2
diff -u -F^f -r1.3.2.2 image_exact.module
--- image_exact.module	26 Jun 2006 19:04:34 -0000	1.3.2.2
+++ image_exact.module	23 Jul 2006 21:17:13 -0000
@@ -36,7 +36,7 @@ function image_exact_settings() {
       '#description' => t('If checked, this will force images of the size(s) checked below (as defined on the %link) to be exactly the size specified. Otherwise, the settings below will be ignored.', array('%link' => $image_settings)),
     );
     foreach (_image_get_sizes() as $count => $size) {
-      $options[$count] = $size['label'];
+      $options['size-'. $count] = $size['label'];
     }
     $form['image_exact_nodes']['image_exact_size'] = array(
       '#type' => 'checkboxes',
@@ -76,7 +76,7 @@ function image_exact_nodeapi(&$node, $op
   if ($node->type == 'image' && $op == 'validate' && variable_get('image_exact_thumbs', 1)) {
     $sizes = _image_get_sizes();
     foreach(variable_get('image_exact_size', array(0)) as $i) {
-//     for ($i = 0; $i < 5; $i++) {
+      $i = str_replace('size-', '', $i);
       $source = file_create_path($node->images['_original']);
       $destination = file_create_path($node->images[$sizes[$i]['label']]);
       $final_w = $sizes[$i]['width'];
