게시판 겔러리 사이즈 조정
컨텐츠 정보
- 조회 5,699
- 댓글 2
본문
https://sir.kr/qa/412847
또는 차선책으로..
/extend/user.config.php 에 다음의 코드를 추가하는 방법도 있습니다.
if ($bo_table == "aaa") {
$board['bo_gallery_width'] = "300";
$board['bo_gallery_height'] = "400";
}
그누보드가 아니라면..
본문의 코드에서..
$thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $gal_width, $board['bo_gallery_height'], false, true);
에서 $gal_width, $board['bo_gallery_height'] 가 썸네일 생성의 폭, 너비입니다.
다음가 같이 코드를 수정하는 방법이 있습니다.
$gal_width = "400";
$board['bo_gallery_height'] = "500";
$thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $gal_width, $board['bo_gallery_height'], false, true);
관련자료
-
링크
-
이전
-
다음
댓글 2개
/ 1페이지
todl님의 댓글
인덱스에 특정 게시판
관리자님의 댓글
멀티업로드