답변 3개 / 댓글 3개
Copy
<?php if($view['file'][0]['file']) { ?>
<img class="img-event img-full" src="<?php echo G5_DATA_URL.'/file/'.$bo_table.'/'.get_view_thumbnail($view['file'][0]['file']); ?>">
<?php } else { ?>
view.skin.php 파일 위의 코드를 아래 코드로 변경 하시면 됩니다.
Copy
<?php
// 파일 출력
$v_img_count = count($view['file']);
if($v_img_count) {
echo "<div id=\"bo_v_img\">\n";
for ($i=0; $i<=count($view['file']); $i++) {
if ($view['file'][$i]['view']) {
//echo $view['file'][$i]['view'];
echo get_view_thumbnail($view['file'][$i]['view']);
}
}
echo "</div>\n";
}
?>
답변에 대한 댓글 2개
답변을 작성하려면 로그인이 필요합니다.