From 0ae22667a084412ffe92e46ed010487b7232c6a6 Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 20 Nov 2017 10:54:03 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/social/includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/social/includes/functions.php b/plugin/social/includes/functions.php index 6c1857647..a44dbd2d5 100644 --- a/plugin/social/includes/functions.php +++ b/plugin/social/includes/functions.php @@ -633,7 +633,8 @@ function social_register_member_check($member){ } function social_profile_img_resize($path, $file_url, $width, $height){ - + + // getimagesize 경우 php.ini 에서 allow_url_fopen 이 활성화 되어 있어야 원격이미지를 읽어올수 있습니다. list($w, $h, $ext) = @getimagesize($file_url); if( $w && $h && $ext ){ $ratio = max($width/$w, $height/$h);