*** image_resize_filter.module.orig	2009-11-15 23:31:35.000000000 -0500
--- image_resize_filter.module	2009-11-27 16:36:09.000000000 -0500
***************
*** 84,90 ****
  function image_resize_filter_file_download($filepath) {
    // If this is a resized image, use the same access as the original image.
    $matches = array();
!   if (preg_match('/^resize\/(.*)?-\d+x\d+(\.png|jpg|jpeg|gif)$/i', $filepath, $matches)) {
      $headers = module_invoke_all('file_download', $matches[1] . $matches[2]);
      if (in_array(-1, $headers)) {
        return -1;
--- 84,90 ----
  function image_resize_filter_file_download($filepath) {
    // If this is a resized image, use the same access as the original image.
    $matches = array();
!   if (preg_match('/^resize\/(.*)?-\d+x\d+(\.png|\.jpg|\.jpeg|\.gif)$/i', $filepath, $matches)) {
      $headers = module_invoke_all('file_download', $matches[1] . $matches[2]);
      if (in_array(-1, $headers)) {
        return -1;
