작은별님 스킨 질문좀 드리겠습니다.
본문
작은별님 스킨중에 리스트에 조그만 썸네일 나오게 하는거 잘 쓰고 있는데요,,,
제공해주셔서 감사합니다.
본문내용에 사진 넣으면 리스트에 섬네일로 1개 잘 나옵니다.
이거 외에도 코멩트에 이미지 들어 있으면 섬네일이 우측으로 차례대로 나오게 할 수 있을까요?
아니면 첨부파일 이미지가 우측에 차례로 나오게 하거나요..
작은별님 소스는 이렇게 되어 있습니다.
<div class="sb_vimg">
<a href="<?php echo $list[$i]['href'] ?>">
<?php
if (!$list[$i]['is_notice']) {
$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'].'" class="list_img">';
} else {
$img_content = '<img src="'.$board_skin_url.'/img/noimage.gif" width="'.$board['bo_gallery_width'].'" height="'.$board['bo_gallery_height'].'" class="list_img">';
}
echo $img_content;
}
?>
</a>
</div>