while loading a file in scripts/ansel.php:248 $image = Ansel::getImageFromFile($file); the file wont be found. it should be called with directory prefix $image = Ansel::getImageFromFile($dir . $file); Duck