From 17264f5a2876fcc394add9cb3f930e3fe5f3f447 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 20 Feb 2013 11:56:41 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EA=B8=80=EB=B3=B4=EA=B8=B0?= =?UTF-8?q?=20=EC=8D=B8=EB=84=A4=EC=9D=BC=20=EC=83=9D=EC=84=B1=20=EA=B8=B0?= =?UTF-8?q?=EB=8A=A5=20=EC=88=98=EC=A0=95=20=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/thumbnail.lib.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/thumbnail.lib.php b/lib/thumbnail.lib.php index 548598a9b..250615dc8 100644 --- a/lib/thumbnail.lib.php +++ b/lib/thumbnail.lib.php @@ -16,7 +16,7 @@ function get_view_thumbnail($contents) if(G4_IS_MOBILE && $dvc_width) { // 썸네일 width 설정 - $thumb_width = 300; + $thumb_width = 320; if($dvc_width >= 1000) { return $contents; @@ -172,8 +172,9 @@ function is_animated_gif($filename) { if(!($fh = @fopen($filename, 'rb'))) return false; $count = 0; - //an animated gif contains multiple "frames", with each frame having a - //header made up of: + // 출처 : http://www.php.net/manual/en/function.imagecreatefromgif.php#104473 + // an animated gif contains multiple "frames", with each frame having a + // header made up of: // * a static 4-byte sequence (\x00\x21\xF9\x04) // * 4 variable bytes // * a static 2-byte sequence (\x00\x2C) (some variants may use \x00\x21 ?)