diff --git a/src/Model/Image.php b/src/Model/Image.php index 726b422..4664286 100755 --- a/src/Model/Image.php +++ b/src/Model/Image.php @@ -83,7 +83,7 @@ class Image extends Model if (empty($basePath)) { throw new \Exception('You must defined config image.path'); } - $parts = array_slice(str_split(mb_strtolower(str_slug($filename, '')), 2), 0, 2); + $parts = array_slice(str_split(md5($filename), 2), 0, 2); $path = $basePath . '/' . implode('/', $parts) . '/' . $filename; return $path;