요약 없이 섬네일 적용방법
modules/document/document.item.php 에서
function getThumbnail 에서 대략 587번째 줄 즈음에 있는
// Return false if neither attachement nor image files in the document 바로 아래의
if(!$this->get('uploaded_count') && !preg_match("!<img!is", $this->get('content'))) return;
부분을 아래걸로 대체하면 버그가 고쳐진 상태에서 정상 작동한다.
$args->document_srl = $this->document_srl;
$output = executeQuery('document.getDocument', $args, $this->columnList);
$content = $output->data->content;
if(!$this->get('uploaded_count') && !preg_match("!<img!is", $content)) return;
댓글 1