...
|
...
|
@@ -66,7 +66,7 @@ class Images |
|
|
*/
|
|
|
public static function getImageUrl($fileName, $width, $height, $mode = 1, $bucket = 'goodsimg')
|
|
|
{
|
|
|
if(!preg_match('|http://|', $fileName)){
|
|
|
if (stripos($fileName, 'http://') !== 0){
|
|
|
$fileName = self::template($fileName, $bucket, $mode);
|
|
|
}
|
|
|
return strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode));
|
...
|
...
|
|