If the image name contains '&', a 'page not found' errors occurs. For example, the image at www.site.com/files/imagecache/small/files/images/b&wpicture.jpg doesn't work, but the original url image www.site.com/files/images/b&wpicture.jpg works just fine.

For it to work on our site, I just replaced line 131 of the module to the following:
$source = substr($_SERVER['REQUEST_URI'], strripos($_SERVER['REQUEST_URI'], file_directory_path())); // $source = file_create_path($path);

Comments

ronnbot’s picture

Small change on the fix, modified line 129 instead to the following:
$path = urldecode(substr($_SERVER['REQUEST_URI'], strripos($_SERVER['REQUEST_URI'], file_directory_path()))); //implode('/', $args);

dopry’s picture

Status: Active » Postponed (maintainer needs more info)

File names should probably get properly encoded with links are made... rather than trying to reverse engineer them... how are the imagecache url's being generated for your site?

dopry’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

don't use the & in your image names... try transliteration module.