Skip to content

Commit ce3d680

Browse files
authored
update the thumb index
1 parent 44c495b commit ce3d680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FilesUploadAndImageResize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function uploadFiles($fileParamName, $minImgWidth = 400, $waterMark, $reN
176176
foreach ($thumbWidth as $tw) {
177177
$thumbPath = trim($srcThumbPath . $tw . '-' . $fileName);
178178
$this->compressImage($_FILES[$fileParamName]['tmp_name'][$this->n], $thumbPath, $minImgWidth, $waterMark, $quality, $tw);
179-
$this->param['uploaded-thumb-files'][] = $tw . '-' . $fileName; //All uploaded thumbnail files name are move in this array
179+
$this->param['uploaded-thumb-files'][$tw][] = $tw . '-' . $fileName; //All uploaded thumbnail files name are move in this array
180180
$this->param['path-uploaded-thumb-files'][] = $thumbPath; //All uploaded thumbnail files with complete path
181181
}
182182
}

0 commit comments

Comments
 (0)