썸네일 라이브러리 코드 수정
This commit is contained in:
@ -25,6 +25,7 @@ function get_list_thumbnail($bo_table, $wr_id, $thumb_width, $thumb_height, $is_
|
|||||||
$matches = get_editor_image($write['wr_content'], false);
|
$matches = get_editor_image($write['wr_content'], false);
|
||||||
$edt = true;
|
$edt = true;
|
||||||
|
|
||||||
|
if(isset($matches[1]) && is_array($matches[1])){
|
||||||
for($i=0; $i<count($matches[1]); $i++)
|
for($i=0; $i<count($matches[1]); $i++)
|
||||||
{
|
{
|
||||||
// 이미지 path 구함
|
// 이미지 path 구함
|
||||||
@ -51,6 +52,7 @@ function get_list_thumbnail($bo_table, $wr_id, $thumb_width, $thumb_height, $is_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(!$filename)
|
if(!$filename)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user