Merge remote-tracking branch 'origin/hotfix/imgQu'
Showing
2 changed files
with
4 additions
and
2 deletions
@@ -62,7 +62,8 @@ class Helpers | @@ -62,7 +62,8 @@ class Helpers | ||
62 | */ | 62 | */ |
63 | public static function getImageUrl($url, $width, $height, $mode = 2) | 63 | public static function getImageUrl($url, $width, $height, $mode = 2) |
64 | { | 64 | { |
65 | - return self::getUrlSafe(strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)) . '/q/70'); | 65 | +// return self::getUrlSafe(strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)) . '/q/70'); |
66 | + return self::getUrlSafe(strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode))); | ||
66 | } | 67 | } |
67 | 68 | ||
68 | /** | 69 | /** |
@@ -77,7 +77,8 @@ class Images | @@ -77,7 +77,8 @@ class Images | ||
77 | if (stripos($fileName, 'http://') !== 0) { | 77 | if (stripos($fileName, 'http://') !== 0) { |
78 | $fileName = self::template($fileName, $bucket, $mode); | 78 | $fileName = self::template($fileName, $bucket, $mode); |
79 | } | 79 | } |
80 | - return Helpers::getUrlSafe(strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)) . '/q/70'); | 80 | +// return Helpers::getUrlSafe(strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)) . '/q/70'); |
81 | + return Helpers::getUrlSafe(strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode))); | ||
81 | } | 82 | } |
82 | 83 | ||
83 | /** | 84 | /** |
-
Please register or login to post a comment