Index: imagecache.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagecache/imagecache.module,v
retrieving revision 1.68.2.19
diff -u -p -r1.68.2.19 imagecache.module
--- imagecache.module	19 Aug 2009 21:05:23 -0000	1.68.2.19
+++ imagecache.module	7 Sep 2009 06:58:23 -0000
@@ -90,6 +90,7 @@ function imagecache_imagecache_actions()
     'imagecache_resize' => array(
       'name' => 'Resize',
       'description' => 'Resize an image to an exact set of dimensions, ignoring aspect ratio.',
+      'file' => 'imagecache_actions.inc',
     ),
     'imagecache_scale' => array(
       'name' => 'Scale',
@@ -378,6 +379,9 @@ function _imagecache_apply_action($actio
   $actions = imagecache_action_definitions();
 
   if ($definition = imagecache_action_definition($action['action'])) {
+    if (!function_exists($action['action'])) {
+      include_once($action['file']);
+    }
     return call_user_func($action['action'] .'_image', $image, $action['data']);
   }
   // skip undefined actions.. module probably got uninstalled or disabled.
