고수님 도와주세요 정보
고수님 도와주세요
본문
아래 최신글 스킨에서 이미지 크기를 고정 할려면 어떻게 해야 돼요??
초보라서 도움 요쳥 합니다.
감사 합니다
<?php
$gr = get_group($gr_id);
?>
<script type="text/javascript">COUNT["<?php echo $bo_table; ?>"] = <?php echo count($list); ?>;</script>
<table border="0" cellspacing="0" cellpadding="0">
<tr><td colspan="2">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top">
<div style="width:134px; border:2px solid #EBEBEB;">
<?php for($i = 0; $i < count($list); $i++){ ?><div id="<?php echo "{$bo_table}_{$i}"; ?>" style="<?php if($i == 0) echo 'display:block;'; else echo 'display:none;'; ?>"><a href="<?php echo $list[$i]['href']; ?>" onfocus="this.blur();"><?php echo make_thumbnail("{$list[$i]['file']['0']['path']}/{$list[$i]['file']['0']['file']}", "{$list[$i]['file']['0']['path']}/{$list[$i]['file']['0']['file']}", $width, $height, $default); ?></a></div>
<?php } ?>
</div>
</td>
<td width="12"></td>
<td width="" valign="top" style="padding:3px 0 0 0;">
<table border="0" cellspacing="0" cellpadding="0">
<?php for($i = 0; $i < count($list); $i++){ ?>
<tr><td height="20"><img src="<?php echo $latest_skin_path; ?>/img/i_bullet.gif" border="0" align="absmiddle"> <a href="<?php echo $list[$i]['href']; ?>" onmouseover="layer('<?php echo $bo_table; ?>', '<?php echo $i; ?>');" onfocus="this.blur();" style="color:#222222;"><?php echo str_replace('…', '...', $list[$i]['subject']); ?></a></td>
</tr>
<?php } ?>
</table>
</td>
</tr>
</table>
</td></tr>
</table>
초보라서 도움 요쳥 합니다.
감사 합니다
<?php
$gr = get_group($gr_id);
?>
<script type="text/javascript">COUNT["<?php echo $bo_table; ?>"] = <?php echo count($list); ?>;</script>
<table border="0" cellspacing="0" cellpadding="0">
<tr><td colspan="2">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top">
<div style="width:134px; border:2px solid #EBEBEB;">
<?php for($i = 0; $i < count($list); $i++){ ?><div id="<?php echo "{$bo_table}_{$i}"; ?>" style="<?php if($i == 0) echo 'display:block;'; else echo 'display:none;'; ?>"><a href="<?php echo $list[$i]['href']; ?>" onfocus="this.blur();"><?php echo make_thumbnail("{$list[$i]['file']['0']['path']}/{$list[$i]['file']['0']['file']}", "{$list[$i]['file']['0']['path']}/{$list[$i]['file']['0']['file']}", $width, $height, $default); ?></a></div>
<?php } ?>
</div>
</td>
<td width="12"></td>
<td width="" valign="top" style="padding:3px 0 0 0;">
<table border="0" cellspacing="0" cellpadding="0">
<?php for($i = 0; $i < count($list); $i++){ ?>
<tr><td height="20"><img src="<?php echo $latest_skin_path; ?>/img/i_bullet.gif" border="0" align="absmiddle"> <a href="<?php echo $list[$i]['href']; ?>" onmouseover="layer('<?php echo $bo_table; ?>', '<?php echo $i; ?>');" onfocus="this.blur();" style="color:#222222;"><?php echo str_replace('…', '...', $list[$i]['subject']); ?></a></td>
</tr>
<?php } ?>
</table>
</td>
</tr>
</table>
</td></tr>
</table>
댓글 전체

<?php
$gr = get_group($gr_id);
$width = 120;
$height = "120;
?>
상단에 width 와 height 값을 넣어줘보세요
$gr = get_group($gr_id);
$width = 120;
$height = "120;
?>
상단에 width 와 height 값을 넣어줘보세요

넣엇는데 크기가 변하지 않습니다

그렇다면
make_thumbnail
함수 안에서 width 와 height 를 고정으로 잡아주시면 됩니다
make_thumbnail
함수 안에서 width 와 height 를 고정으로 잡아주시면 됩니다