diff --git a/modules/editor/components/image_link/image_link.class.php b/modules/editor/components/image_link/image_link.class.php index c5c366da0..6ab1a578b 100644 --- a/modules/editor/components/image_link/image_link.class.php +++ b/modules/editor/components/image_link/image_link.class.php @@ -61,7 +61,11 @@ // 이미지 주소를 request uri가 포함된 주소로 변환 (rss출력, 등등을 위함) $temp_src = explode('/', $src); if($temp_src[0]=='.') $src = Context::getRequestUri().substr($src, 2); - elseif($temp_src[0]=='' && $src) $src = Context::getRequestUri().substr($src, 1); + elseif($temp_src[0]=='' && $src) { + if($_SERVER['HTTPS']=='on') $http_src = 'https://'; + else $http_src = 'http://'; + $src = $http_src.$_SERVER['HTTP_HOST'].$src; + } if(!$alt) $alt = $src; $attr_output = array();