채택완료

게시판 썸네일 크기 변경

2019-08-22 (목) 14:35:31 2,446

게시판 썸네일 크기를 변경하고싶은데 소스를 보니 이렇더라구요ㅠ

width:174, heihgt:124 

어디문서에서 이미지크기를 변경하는지 자세히 가르켜주시면 감사하겠습니다ㅠ

3667115599_1566452120.3343.png

Copy
<li class="gall_href">
                    <a href="<?php echo $list[$i]['href'] ?>">
                    <?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 {
                        $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>
|

답변 2개

채택된 답변
+20 포인트

관리자 -> 게시판관리 -> 수정 -> 디자인/양식에서 수정하실 수 있습니다.

thumb-3673000469_1566452375.5192_730x558.png

소스 수정 필요 없이관리자모드의 게시판에 가셔서 섬네일 크기를 수정하여 조정할 수 있습니다

답변을 작성하려면 로그인이 필요합니다.