Use Full Path for Thumbnail Generation
This commit is contained in:
parent
c3f1764c58
commit
df4a36ecc5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue