Showing
2 changed files
with
4 additions
and
2 deletions
@@ -65,7 +65,8 @@ class Helpers | @@ -65,7 +65,8 @@ 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://' => '//')) . '/q/70'; | 68 | +// return strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode, 'http://' => '//')) . '/q/70'; |
69 | + return strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode, 'http://' => '//')); | ||
69 | } | 70 | } |
70 | 71 | ||
71 | /** | 72 | /** |
@@ -71,7 +71,8 @@ class Images | @@ -71,7 +71,8 @@ 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://' => '//')) . '/q/70'; | 74 | +// return strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode, 'http://' => '//')) . '/q/70'; |
75 | + return strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode, 'http://' => '//')); | ||
75 | } | 76 | } |
76 | 77 | ||
77 | /** | 78 | /** |
-
Please register or login to post a comment