Merge remote-tracking branch 'origin/hotfix/imgQu'
Showing
2 changed files
with
2 additions
and
2 deletions
@@ -65,7 +65,7 @@ class Helpers | @@ -65,7 +65,7 @@ class Helpers | ||
65 | */ | 65 | */ |
66 | public static function getImageUrl($url, $width, $height, $mode = 2) | 66 | public static function getImageUrl($url, $width, $height, $mode = 2) |
67 | { | 67 | { |
68 | - return strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode, 'http://' => '//')); | 68 | + return strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode, 'http://' => '//')) . '/q/70'; |
69 | } | 69 | } |
70 | 70 | ||
71 | /** | 71 | /** |
@@ -71,7 +71,7 @@ class Images | @@ -71,7 +71,7 @@ class Images | ||
71 | if (stripos($fileName, 'http://') !== 0) { | 71 | if (stripos($fileName, 'http://') !== 0) { |
72 | $fileName = self::template($fileName, $bucket, $mode); | 72 | $fileName = self::template($fileName, $bucket, $mode); |
73 | } | 73 | } |
74 | - return strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode, 'http://' => '//')); | 74 | + return strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode, 'http://' => '//')) . '/q/70'; |
75 | } | 75 | } |
76 | 76 | ||
77 | /** | 77 | /** |
-
Please register or login to post a comment