이미지 썸네일 채택완료
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 = '
';
} else {
$img_content = 'no image';
}
echo $img_content;
}
?>
갤러리 게시판에 올렸을때 view 사진 크기는 그대로 하고
list에서 보일때 사진이 300x300 사이즈로 보이게 하고 싶습니다.. 제가 잘 설명을 못해서 그러는데
이부분을 수정해야 되는거 같은데. 300x300보다 큰 사이즈의 사진을 올리게 되면
list에서 보이는 사진이 잘려서 출력되요... 도와주시면 감사합니다..
잘 이해가 안되시면 댓글 달아주시면 다시 설명을 드려볼게요 ㅠ
답변 1개
$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height'], false, false);
답변에 대한 댓글 2개
이것을
$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height'], false, false);
이렇게 수정
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인