최신글 스킨인데요...적용해서 보면 그림이 나오지 않네요 정보
최신글 스킨인데요...적용해서 보면 그림이 나오지 않네요본문
최신글스킨에 그림도 같이 나오게 되어있는데요. 그림이 보이지 않습니다.
필요에 의해서 사용하는데요 ㅜㅜ
해당 그림자리에서 속성을 보면 988790885_f1f96c04_airwind8_120.jpg.Thum 같이 맨뒤에 .Thum가 붙는데 이것때문인지요?
아래 부분에서 어디를 손보면 좋을까요?
조언 부탁드립니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$mod = 5;
?>
<table width="100%" cellpadding="0" cellspacing="0"><tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<?
if ($i>0 && $i%$mod==0) { echo "</tr><tr>"; }
?>
<td>
<table width="100%">
<?
$p_four = explode("|",$list[$i][wr_4]);
$four01 = $p_four[0];
$four02 = $p_four[1];
$four03 = $p_four[2];
$four04 = $p_four[3];
$four05 = $p_four[4];
?>
<?
$p_nine = explode("|",$list[$i][wr_9]);
$nine01 = $p_nine[0];
$nine02 = $p_nine[1];
$nine03 = $p_nine[2];
$nine04 = $p_nine[3];
$nine05 = $p_nine[4];
$nine06 = $p_nine[5];
$nine07 = $p_nine[6];
$nine08 = $p_nine[7];
$nine09 = $p_nine[8];
$nine10 = $p_nine[9];
$nine11 = $p_nine[10];
$nine12 = $p_nine[11];
$nine13 = $p_nine[12];
$nine14 = $p_nine[13];
$nine15 = $p_nine[14];
?>
<!-- [참고] 옵션필드 --//-->
<? // 귀찮아서 실제로는 '제목필드 변수'대신 수동입력 (관리자모드에 손댈거 없음)
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$mod = 5;
?>
<table width="100%" cellpadding="0" cellspacing="0"><tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<?
if ($i>0 && $i%$mod==0) { echo "</tr><tr>"; }
?>
<td>
<table width="100%">
<?
$p_four = explode("|",$list[$i][wr_4]);
$four01 = $p_four[0];
$four02 = $p_four[1];
$four03 = $p_four[2];
$four04 = $p_four[3];
$four05 = $p_four[4];
?>
<?
$p_nine = explode("|",$list[$i][wr_9]);
$nine01 = $p_nine[0];
$nine02 = $p_nine[1];
$nine03 = $p_nine[2];
$nine04 = $p_nine[3];
$nine05 = $p_nine[4];
$nine06 = $p_nine[5];
$nine07 = $p_nine[6];
$nine08 = $p_nine[7];
$nine09 = $p_nine[8];
$nine10 = $p_nine[9];
$nine11 = $p_nine[10];
$nine12 = $p_nine[11];
$nine13 = $p_nine[12];
$nine14 = $p_nine[13];
$nine15 = $p_nine[14];
?>
<!-- [참고] 옵션필드 --//-->
<? // 귀찮아서 실제로는 '제목필드 변수'대신 수동입력 (관리자모드에 손댈거 없음)
//$board[bo_1] = "우선출력 or 추천지정"
//$board[bo_2] = "이미지뷰 설정"
//$board[bo_3] = "우편번호1/우편번호2/주소1/주소2";
//$board[bo_4] = "진행상황";
//$board[bo_5] = "전화번호/팩스번호";
//$board[bo_2] = "이미지뷰 설정"
//$board[bo_3] = "우편번호1/우편번호2/주소1/주소2";
//$board[bo_4] = "진행상황";
//$board[bo_5] = "전화번호/팩스번호";
//$board[bo_6] = "학원분류/상세분류/현재원생수";
//$board[bo_7] = "보증금/월임대로/권리금";
//$board[bo_8] = "희망거래가/절충여부";
//$board[bo_7] = "보증금/월임대로/권리금";
//$board[bo_8] = "희망거래가/절충여부";
$ex5_filed = explode("|",$write[wr_5]);
$ext5_00 = $ex5_filed[0];
$ext5_01 = $ex5_filed[1];
$ext5_02 = $ex5_filed[2];
$ext5_03 = $ex5_filed[3];
$ext5_04 = $ex5_filed[4];
$ext5_05 = $ex5_filed[5];
$ex6_filed = explode("|",$write[wr_6]);
$ext6_00 = $ex6_filed[0];
$ext6_01 = $ex6_filed[1];
$ext6_02 = $ex6_filed[2];
$ext6_00 = $ex6_filed[0];
$ext6_01 = $ex6_filed[1];
$ext6_02 = $ex6_filed[2];
$ex7_filed = explode("|",$write[wr_7]);
$ext7_00 = $ex7_filed[0];
$ext7_01 = $ex7_filed[1];
$ext7_02 = $ex7_filed[2];
$ext7_00 = $ex7_filed[0];
$ext7_01 = $ex7_filed[1];
$ext7_02 = $ex7_filed[2];
$ex8_filed = explode("|",$write[wr_8]);
$ext8_00 = $ex8_filed[0];
$ext8_01 = $ex8_filed[1];
?>
<!-- [참고] 옵션필드 --//-->
<tr valign="top">
<td align="center" valign="top">
<table cellpadding="3" cellspacing="1" bgcolor="e4e4e4" >
<tr>
<td bgcolor="ffffff"><?
echo "<a href='{$list[$i][href]}'>";
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
echo "<img src='$g4[path]/data/file/$bo_table/$image.Thum' width='100' height='80' border='0'></a>"; // 이미지크기
} else
echo "<img src='$latest_skin_path/img/noimg.gif' width='100' height='80' border='0'></a>"; ?></td>
</tr>
</table></td>
</tr>
<tr valign="top">
<td align="center" valign="top"><? if ($list[$i][is_notice]) {?>
<a href='<?=$list[$i][href]?>'><span class=black><b>
<?=$list[$i][subject]?>
</b></span></a>
<? } else {?>
<a href='<?=$list[$i][href]?>'>
<? if ($four02) echo '<b>';?>
<? if ($four03) echo '<span class="blue">';?>
<?=$list[$i][subject]?>
<? if ($four03) echo '</span>';?>
<? if ($four02) echo '</b>';?>
</a>
<? }?>
<? if ($list[$i][comment_cnt]) {?>
<a href="<?=$list[$i][comment_href]?>">
<?=$list[$i][comment_cnt]?>
</a>
<? }?><br>
<?=$list[$i][datetime]?><br>
<span class="red"><?=$ext8_00?></span> 만원</td>
</tr>
</table>
</td><? } ?>
<?
$nam = ($i%$mod);
for ($k=$nam; $k<$mod && $nam; $k++)
{ echo "<td> </td>";}
?>
<? if (count($list) == 0) { echo "<td colspan=$mod class=bbs>내용이 없습니다.</td>"; } ?>
</tr></table>
댓글 전체
echo "<img src='$g4[path]/data/file/$bo_table/$image.Thum' width='100' height='80' border='0'></a>"; // 이미지크기
==>
echo "<img src='$g4[path]/data/file/$bo_table/$image' width='100' height='80' border='0'></a>"; // 이미지크기
==>
echo "<img src='$g4[path]/data/file/$bo_table/$image' width='100' height='80' border='0'></a>"; // 이미지크기
레미짱님 감사합니다
님 말씀대로 해서 해결되었습니다.
어제부터 하루종일 잡고 있었는데 ^^
감사합니다~~
님 말씀대로 해서 해결되었습니다.
어제부터 하루종일 잡고 있었는데 ^^
감사합니다~~
썸네일 만들어 주는 스킨을 사용하세요.
큰 그림을 그대로 리스트에 쓰느 것을 네트웍 트래픽 낭비입니다.
큰 그림을 그대로 리스트에 쓰느 것을 네트웍 트래픽 낭비입니다.