diff --git a/lib/thumbs.class.php b/lib/thumbs.class.php index 89880c2..0de9890 100644 --- a/lib/thumbs.class.php +++ b/lib/thumbs.class.php @@ -39,7 +39,7 @@ class thumb { public function get_thumb($iname) { $src = $this->imagedir.$iname; $ext = pathinfo($iname, PATHINFO_EXTENSION); - $dstname = hash('sha256', $iname); + $dstname = hash('sha256', $src); $dstpath = $this->thumbdir.$dstname.'.'.$ext;