공지사항
좌측 날개
우측 날개

게시판 겔러리 사이즈 조정

컨텐츠 정보

  • 조회 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페이지

공지사항

최근글


  • 글이 없습니다.

새댓글


  • 댓글이 없습니다.
알림 0