Index: image_resize_filter.module
===================================================================
--- image_resize_filter.module	(revision 382)
+++ image_resize_filter.module	(working copy)
@@ -231,7 +231,7 @@
  * @param $text
  *   The text to be updated with the new img src tags.
  */
-function image_resize_filter_get_images($settings, $text) {
+function image_resize_filter_get_images($settings, $text) {  
   $images = array();
 
   // Find all image tags, ensuring that they have a src.
@@ -463,7 +463,7 @@
 function image_resize_filter_process_images($images, $text, $settings) {
   $search = array();
   $replace = array();
-
+  
   foreach ($images as $image) {
     // Copy remote images locally.
     if ($image['location'] == 'remote') {
@@ -479,6 +479,7 @@
       $path_info = image_resize_filter_pathinfo($image['local_path']);
       $local_file_dir = file_uri_target($path_info['dirname']);
       $local_file_path = 'resize/' . ($local_file_dir ? $local_file_dir . '/' : '') . $path_info['filename'] . '-' . $image['expected_size']['width'] . 'x' . $image['expected_size']['height'] . '.' . $path_info['extension'];
+      if($path_info['scheme'] === false) { $path_info['scheme'] = 'public'; }
       $image['destination'] = $path_info['scheme'] . '://' . $local_file_path;
     }
 
