Index: asset_imagecache.inc
===================================================================
--- asset_imagecache.inc
+++ asset_imagecache.inc
@@ -32,7 +32,7 @@
       }
       return $formats;
     case 'options':
-      $path = file_create_path('imagecache/'.$attr['format'].'/'.$asset->filepath);
+      $path = imagecache_create_path($attr['format'], $asset->filepath);
       if(!file_exists($path)){
         // this is the easiest albeit indirect way i can see to generate the image
         $result = drupal_http_request(url(file_create_url($path)));
@@ -37,7 +37,7 @@
         // this is the easiest albeit indirect way i can see to generate the image
         $result = drupal_http_request(url(file_create_url($path)));
       }
-      $size = image_get_info(file_create_path('imagecache/'.$attr['format'].'/'.$asset->filepath));
+      $size = image_get_info(imagecache_create_path($attr['format'], $asset->filepath));
       $form['width'] = array('#type' => 'hidden', '#value' => $size['width']);        
       $form['height'] = array('#type' => 'hidden', '#value' => $size['height']);
       $form['resizable'] = array();
@@ -54,7 +54,7 @@
       return $form;
       break;
     case 'img':
-      return file_create_path('imagecache/'. $attr['format'] .'/'. $asset->filepath);
+      return imagecache_create_path($attr['format'], $asset->filepath);
     case 'preview':
       return theme('imagecache', $attr['format'], $asset->filepath, '', '', array('width' => '100'));
     case 'render':
