try using alternative search for filename
[Pman.Core] / Images.php
index c33e8f4..92c99e9 100644 (file)
@@ -285,7 +285,7 @@ class Pman_Core_Images extends Pman
     {
         $this->sessionState(0); // turn off session... - locking...
         require_once 'File/Convert.php';
-        if (!file_exists($img->getStoreName())) {
+        if (!file_exists($img->getStoreName()) && !file_exists($img->getStoreName(true))) {
 //            print_r($img);exit;
             header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' .
                 urlencode("Original file was missing : " . $img->getStoreName()));