답변 2개
채택된 답변
+20 포인트
해당 스킨 list.skin.php 에서 이렇게 해보세요
if ($list[$i]['is_notice']) { // 공지사항 ?>
<strong style="width:<?php echo $board['bo_gallery_width'] ?>px;height:<?php echo $board['bo_gallery_height'] ?>px">공지</strong>
<?php } else {
....
...
....
}
위에 적은줄만 삭제하면 됩니다. 중간에 있는 줄은 놔두시고요.
Copy
<li class="gall_href"> <a href="<?php echo $list[$i]['href'] ?>"> <?php $thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']); if($thumb['src']) { $img_content = '<img src="'.$thumb['src'].'" alt="'.$thumb['alt'].'" width="'.$board['bo_gallery_width'].'" height="'.$board['bo_gallery_height'].'">'; } else { $img_content = '<span style="width:'.$board['bo_gallery_width'].'px;height:'.$board['bo_gallery_height'].'px">no image</span>'; } echo $img_content; ?> </a> </li>
답변을 작성하려면 로그인이 필요합니다.