Index: img_assist.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/img_assist/img_assist.module,v
retrieving revision 1.53
diff -u -r1.53 img_assist.module
--- img_assist.module	16 Sep 2005 21:56:07 -0000	1.53
+++ img_assist.module	28 Oct 2005 15:05:23 -0000
@@ -199,7 +199,7 @@
 function img_assist_create() {
   global $base_url;
 
-  $textarea = $_GET['textarea'] ? $_GET['textarea'] : variable_get('textarea', $textarea);
+  $textarea = $_GET['textarea'] ? $_GET['textarea'] : variable_get('img_assist_textarea', $textarea);
   variable_set('img_assist_textarea', $textarea);
 
   $head = '';
@@ -771,7 +771,7 @@
   $caption     = form_textarea(t('Image caption (optional)'), 'caption', $img->caption, 70, 2);
   $id_field    = form_hidden('fid', $img->fid);
   $id_field   .= form_hidden('nid', $img->nid);
-  $id_field   .= form_hidden('filepath', $img->filepath);
+  $id_field   .= form_hidden('filepath', file_create_url($img->filepath));
   $id_field   .= form_hidden('nodePath', url("node/$img->nid"));
   $id_field   .= form_hidden('origWidth', $img->width);
   $id_field   .= form_hidden('origHeight', $img->height);
