### Eclipse Workspace Patch 1.0
#P inline
Index: inline.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/inline/inline.module,v
retrieving revision 1.26
diff -u -r1.26 inline.module
--- inline.module	18 Apr 2007 11:21:56 -0000	1.26
+++ inline.module	16 Jun 2007 00:53:06 -0000
@@ -1,5 +1,5 @@
 <?php
-// $Id: inline.module,v 1.26 2007/04/18 11:21:56 sun Exp $
+// $Id: inline.module,v 1.19.2.7 2007/04/18 11:22:27 sun Exp $
 
 
 /**
@@ -252,7 +252,7 @@
   if (module_exists('imagecache') && variable_get($inline_preset, '') != '') {
     $image = theme('imagecache',
       variable_get($inline_preset, ''),
-      $file->filepath,
+      file_directory_path() . '/' . $file->filepath,
       $title,
       $title,
       array('class' => 'inline')
@@ -260,7 +260,7 @@
   }
   else {
     $image = theme('image',
-      $file->filepath,
+      file_directory_path() . '/' . $file->filepath,
       $title,
       $title,
       array('class' => 'inline')
@@ -272,7 +272,7 @@
       'class' => 'inline-image-link',
       'title' => t("View") .': '. $title,
     );
-    $html = l($image, $file->filepath, $attributes, NULL, NULL, FALSE, TRUE);
+    $html = l($image, file_directory_path() . '/' . $file->filepath, $attributes, NULL, NULL, FALSE, TRUE);
   }
   else {
     $html = $image;
@@ -428,7 +428,7 @@
         list($width, $height) = getimagesize($file->real_path);
       }
       else {
-        list($width, $height) = getimagesize($file->filepath);
+        list($width, $height) = getimagesize(file_directory_path() . '/' . $file->filepath);
       }
       
       if (($width && $height) && ($width <= $maxwidth && $height <= $maxheight)) {
