diff --git a/application/controllers/information.php b/application/controllers/information.php
index cc81db16..0104a84c 100644
--- a/application/controllers/information.php
+++ b/application/controllers/information.php
@@ -837,6 +837,12 @@ class Information extends CI_Controller
// },$ic_content);
//$ic_content = '
'.$ic_content.'
'; //兼容拷贝过来的内容样式
+
+ //图片加延迟
+ $ic_content=$this->html_optimize_lib->set_lazy_loader($ic_content,'https://data.chinatravel.com/images/mobile-first/grey.gif');
+
+ $ic_content = $this->html_optimize_lib->set_image_size($ic_content);
+
$data["CUSTOMCONENT"] = $ic_content;
@@ -1064,20 +1070,6 @@ class Information extends CI_Controller
file_put_contents($html_path, $template, LOCK_EX);
- // //Google广告代码
- // if (!empty(get_meta($information->ic_id, 'meta_google_ad_content'))) {
- // $template = str_replace('', '', $template);
- // }
- // if (!empty(get_meta($information->ic_id, 'meta_google_ad_article'))) {
- // $in_article_google=$this->load->view($template_path.'-google-ad', false,true);
- // $template = str_replace('', $in_article_google, $template);
- // }
-
- // //设置图片尺寸
- // //$template=$this->html_optimize_lib->set_image_size($template);
- // // /travelguide/chinese-zodiac/monthly-fortune-for-dog.htm
-
-
}
//通过内容找到第一张图片