최신갤러리 스킨 이미지크기 조절문제 채택완료
아래는 모바일용으로 사용하려는 최신글갤러리 latest.skin.php 인데요.
사진사이즈를 바꾸고 싶은데요. 어느부분을 수정해야 가능할까요? 사진 가로사이즈를 지금 나올때의 두배정도를 주고자 합니다. 조언 부탁드립니다.
include_once(G5_LIB_PATH.'/thumbnail.lib.php'); $thumb_width=50; $thumb_height=50;
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); ?>
-
';
} else {
$img = "NO IMAGE";
}?>
-
"; if ($list[$i]['is_notice']) echo "".$list[$i]['subject'].""; else echo $list[$i]['subject'];
if ($list[$i]['comment_cnt']) echo $list[$i]['comment_cnt'];
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; } // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new']; ?>
- 게시물이 없습니다.
아래는 style.css 입니다. 혹시나 여기 수정이 필요한지 몰라서 같이 올립니다.
.ltx .img{float:left;border:1px solid #e5e5e5;padding:2px;} .datatime {float: right;margin:0 ;color:#000000;} .ltx .inner .tit{width:215px;height:55px;display:block;padding:2px 0 3px;line-height:17px} .ltx .nner .desc{width:215px;margin:0px;} .ltx .inner .txt{text-align:right;padding-right:0px}
/* 새글 스킨 (latest) */ .ltx_pc {float:left;margin-left:20px} .ltx {position:relative;float:left;margin-bottom:20px;padding:13px;width:290px;height:150px;border:1px solid #e5e5e5} .ltx ul {margin::0px 0 0 10px;padding:0;list-style:none} .ltx li {padding:0px 0;line-height:20px} .ltx li a:link, a:visited {text-decoration:none} .ltx li a:hover{color:#0097dd;text-decoration:none} .ltx .lt_title {display:block;padding:10px 0 8px;border-bottom:1px solid #e5e5e5;} .ltx .lt_more {position:absolute;top:10px;right:0;padding:13px} .datatime {float: right;margin:0 ;color:#000000;}
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인