외부 이미지의 경우 섬네일을 생성하지 않는 문제점 개선

This commit is contained in:
BJRambo 2016-01-08 06:09:43 +09:00
parent a2eee72f48
commit 9c97f24d35

View file

@ -910,8 +910,7 @@ class documentItem extends Object
if(!file_exists($tmp_file)) continue;
else
{
list($_w, $_h, $_t, $_a) = @getimagesize($tmp_file);
if($_w<$width || $_h<$height) continue;
list($_w, $_h, $_t, $_a) = getimagesize($tmp_file);
$source_file = $tmp_file;
$is_tmp_file = true;