作者 刘锟

amp站点图片添加宽高属性

... ... @@ -28,7 +28,9 @@ class WebSettingAmpLogic extends BaseLogic
return $this->success();
}
//log图处理
if(!empty($info['top_logo'])){
$info['top_logo']['url'] = getImageUrl($info['top_logo']['url'], $this->user['storage_type'], $this->user['project_location']);
}
//banner处理
if (!empty($info['index_banner'])) {
foreach ($info['index_banner'] as &$v) {
... ...