From 8ad2a1b3877bae0e6d3e7ca13fca4854e17ae77a Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 1 Feb 2013 14:38:49 +0900 Subject: [PATCH] =?UTF-8?q?#216=20title=20=EB=AC=B8=EA=B5=AC=EB=A5=BC=20?= =?UTF-8?q?=EC=A7=A7=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/thumb.lib.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/thumb.lib.php b/lib/thumb.lib.php index 5d4a24f99..a54dc098b 100644 --- a/lib/thumb.lib.php +++ b/lib/thumb.lib.php @@ -4,8 +4,8 @@ if (!defined('_GNUBOARD_')) exit; /******************************************************************************* 썸네일 Class - 사용법 : - + 사용법 : + $thumb = new g4_thumbnail(경로, 썸네일이미지폭); $thumb->run(이미지 경로가 포함된 컨텐츠); @@ -57,11 +57,11 @@ class g4_thumb { $width = $this->get_width(); $source = null; $size = @getimagesize($srcimg); - if ($size[2] == 1) + if ($size[2] == 1) $source = @imagecreatefromgif($srcimg); else if ($size[2] == 2) $source = @imagecreatefromjpeg($srcimg); - else if ($size[2] == 3) + else if ($size[2] == 3) $source = @imagecreatefrompng($srcimg); if ($source == null) @@ -111,7 +111,7 @@ class g4_thumb { if ($size[0] < $this->width) { return ""; } else { - return ""; + return ""; } } }