XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
resize_image.addon.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
3 
4 if(!defined('__XE__'))
5 {
6  exit();
7 }
8 
14 if($called_position == 'after_module_proc' && Context::getResponseMethod() == "HTML" && !isCrawler())
15 {
17  {
18  Context::loadFile('./addons/resize_image/css/resize_image.mobile.css', true);
19  }
20  else
21  {
23  Context::loadFile(array('./addons/resize_image/js/resize_image.min.js', 'body', '', null), true);
24  }
25 }
26 
27 /* End of file resize_image.addon.php */
28 /* Location: ./addons/resize_image/resize_image.addon.php */
loadFile($args)
loadJavascriptPlugin($plugin_name)
isFromMobilePhone()
isCrawler($agent=NULL)
Definition: func.inc.php:1538