모바일 갤러리 가로 세로 사이즈 문의
본문
안녕하세요 모바일 갤러리 베이직 스킨 쓰고 있습니다.
style="width:100%;height:auto"
를 img 에 넣으려고 하는데
관리자 모드에서 세로 길이는 auto가 안먹혀서요
소스 수정해서 넣고 싶은데 잘안되네요
<?php
} else {
$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_mobile_gallery_width'], $board['bo_mobile_gallery_height']);
if($thumb['src']) {
$img_content = '<img src="'.$thumb['src'].'" alt="'.$thumb['alt'].'" width="'.$board['bo_mobile_gallery_width'].'" height="'.$board['bo_mobile_gallery_height'].'">';
} else {
$img_content = '<span style="width:'.$board['bo_mobile_gallery_width'].'px;height:'.$board['bo_mobile_gallery_height'].'px">no image</span>';
}
echo $img_content;
}
?>
$board['bo_mobile_gallery_width']
$board['bo_mobile_gallery_height']
얘를 어떻게 바꿔야 할것같은데 방법을 몰겠습니다.
도와주세요 ㅠㅠ
!-->
답변을 작성하시기 전에 로그인 해주세요.