rabin 2 years ago
parent
commit
44a387b73b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Store/Qiniu.php

+ 1 - 1
lib/Store/Qiniu.php

@@ -266,7 +266,7 @@ class Qiniu extends Core implements Config
                 if (strstr($source, 'thumbnail/')) {
                 if (strstr($source, 'thumbnail/')) {
                     $temp = explode('thumbnail/', $source);
                     $temp = explode('thumbnail/', $source);
                     if (isset($temp[1])) {
                     if (isset($temp[1])) {
-                        $temp = explode('x', $temp[1]);
+                        $temp = explode('x>', $temp[1]);
                         $width = $file['width'];
                         $width = $file['width'];
                         $file['width'] = $temp[0];
                         $file['width'] = $temp[0];
                         $radio = $file['width']/$width;
                         $radio = $file['width']/$width;